v2.0.0b
This commit is contained in:
1 parent
c92baf6cda
commit
dd680c8a9a
4 files changed
+14
-9
No files matched your search
@@ -34,7 +34,7 @@ class SecurityHandler {
|
||||
{
|
||||
# Searching method first and fallbacking on object if none found
|
||||
if ( $list = $this->findAttributes(Attribute\Security::class, $className, $methodName) ) {
|
||||
return array_pop($list)->locked;
|
||||
return array_shift($list)->locked;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user