Skip to content

Commit

Permalink
cr remarks vol2
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed Aug 28, 2024
1 parent e03e29d commit 59503aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ parameters:
count: 1
path: src/bundle/Command/AuditUserDatabaseCommand.php

-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: src/bundle/Command/UpdateUserCommand.php

-
message: "#^Method Ibexa\\\\Bundle\\\\User\\\\Controller\\\\Controller\\:\\:performAccessCheck\\(\\) has no return type specified\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Command/UpdateUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ private function resolveEnabledFlag(bool $enable, bool $disable): ?bool
return null;
}

return $enable === true || !$disable;
return $enable === true;
}
}

0 comments on commit 59503aa

Please sign in to comment.