phpstan, rector, cs-fixer

This commit is contained in:
2023-09-25 11:50:54 +02:00
parent fc919e9547
commit 6665a443b9
10 changed files with 62 additions and 4 deletions

View File

@@ -279,7 +279,7 @@ class User implements UserInterface, \Stringable
)
);
$scopes = $this->scopeHistories->matching($criteria);
$scopes = $this->scopeHistories->matching($criteria)->getIterator();
if ($scopes->count() > 0) {
return $scopes->first()->getScope();
@@ -328,7 +328,7 @@ class User implements UserInterface, \Stringable
)
);
$jobs = $this->jobHistories->matching($criteria);
$jobs = $this->jobHistories->matching($criteria)->getIterator();
if ($jobs->count() > 0) {
return $jobs->first()->getJob();