1
0
Fork 0

Fix hopefully last php 8.1 deprecation warnings

pull/10017/head
Jordi Boggiano 2021-07-22 13:54:18 +02:00
parent 24f5e54fbe
commit 2f83338d2f
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,7 @@ class CompositeRepository implements RepositoryInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
#[\ReturnTypeWillChange]
public function count() public function count()
{ {
$total = 0; $total = 0;

View File

@ -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) {