Completed
Push — master ( 7fd0f9...c073eb )
by Mathieu
03:21
created
src/Charcoal/User/AuthAwareTrait.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * Set the authentication service.
46 46
      *
47 47
      * @param  Authenticator $authenticator The authentication service.
48
-     * @return AuthAwareInterface
48
+     * @return AuthAwareTrait
49 49
      */
50 50
     protected function setAuthenticator(Authenticator $authenticator)
51 51
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * Set the authorization service.
77 77
      *
78 78
      * @param  Authorizer $authorizer The authorization service.
79
-     * @return AuthAwareInterface
79
+     * @return AuthAwareTrait
80 80
      */
81 81
     protected function setAuthorizer(Authorizer $authorizer)
82 82
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param array $permissions The list of required permissions to check.
147
+     * @param string[] $permissions The list of required permissions to check.
148 148
      * @return boolean
149 149
      */
150 150
     public function hasPermissions(array $permissions)
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -103,11 +103,11 @@
 block discarded – undo
103 103
         return $this->authorizer;
104 104
     }
105 105
 
106
-     /**
107
-      * @param string[]|string|null $permissions The list of required permissions.
108
-      * @throws InvalidArgumentException If the permissions are not an array or a comma-separated string.
109
-      * @return AuthAwareTrait Chainable
110
-      */
106
+        /**
107
+         * @param string[]|string|null $permissions The list of required permissions.
108
+         * @throws InvalidArgumentException If the permissions are not an array or a comma-separated string.
109
+         * @return AuthAwareTrait Chainable
110
+         */
111 111
     protected function setRequiredAclPermissions($permissions)
112 112
     {
113 113
         if ($permissions === null || !$permissions) {
Please login to merge, or discard this patch.