Fix hopefully last php 8.1 deprecation warnings
parent
24f5e54fbe
commit
2f83338d2f
|
@ -177,6 +177,7 @@ class CompositeRepository implements RepositoryInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
#[\ReturnTypeWillChange]
|
||||||
public function count()
|
public function count()
|
||||||
{
|
{
|
||||||
$total = 0;
|
$total = 0;
|
||||||
|
|
|
@ -185,6 +185,7 @@ class FilterRepository implements RepositoryInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
#[\ReturnTypeWillChange]
|
||||||
public function count()
|
public function count()
|
||||||
{
|
{
|
||||||
if ($this->repo->count() > 0) {
|
if ($this->repo->count() > 0) {
|
||||||
|
|
Loading…
Reference in New Issue