Fixed typos

This commit is contained in:
Jan Böhmer 2023-04-15 23:14:53 +02:00
parent 63df16a369
commit d04d743520
144 changed files with 263 additions and 265 deletions

View file

@ -112,7 +112,7 @@ final class InheritanceSecurityPolicy implements SecurityPolicyInterface
if ($obj instanceof $class) {
$allowed = in_array($method, $methods, true);
//CHANGED: Only break if we the method is allowed, otherwise try it on the other methods
//CHANGED: Only break if the method is allowed, otherwise try it on the other methods
if ($allowed) {
break;
}
@ -133,7 +133,7 @@ final class InheritanceSecurityPolicy implements SecurityPolicyInterface
if ($obj instanceof $class) {
$allowed = in_array($property, is_array($properties) ? $properties : [$properties], true);
//CHANGED: Only break if we the method is allowed, otherwise try it on the other methods
//CHANGED: Only break if the method is allowed, otherwise try it on the other methods
if ($allowed) {
break;
}