fix phpstan, cs, and rector rules

This commit is contained in:
2024-05-28 12:45:07 +02:00
parent 059e4a0acd
commit 56d173046d
27 changed files with 30 additions and 65 deletions

View File

@@ -112,8 +112,8 @@ final readonly class PersonACLAwareRepository implements PersonACLAwareRepositor
$andWhereSearchClause = [];
$andWhereSearchClauseArgs = [];
if ('' !== trim($default)) {
foreach (\explode(' ', $default) as $str) {
if ('' !== trim((string) $default)) {
foreach (\explode(' ', (string) $default) as $str) {
if ('' === trim($str)) {
continue;
}