Completed
Push — master ( 8b5039...b64488 )
by Andrii
11:08
created
src/models/User.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
         Yii::$app->session->set('identity:' . $this->id, $this);
59 59
     }
60 60
 
61
+    /**
62
+     * @return IdentityInterface|null
63
+     */
61 64
     public static function findOne($id)
62 65
     {
63 66
         if (isset(static::$_users[$id])) {
Please login to merge, or discard this patch.
src/components/SettingsStorage.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * Performs request to the API.
81
-     * @param string $key
82
-     * @param array $value
81
+     * @param string $action
83 82
      * @return array
84 83
      */
85 84
     private function perform($action, $data)
Please login to merge, or discard this patch.
src/models/Ref.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -56,6 +56,10 @@
 block discarded – undo
56 56
         return self::getList($name, $translate, array_merge($options, ['with_recursive' => true]));
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $name
61
+     * @param string|false $translate
62
+     */
59 63
     public static function findCached($name, $translate = null, $options = [])
60 64
     {
61 65
         if ($translate === null) {
Please login to merge, or discard this patch.
src/filters/EasyAccessControl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@
 block discarded – undo
142 142
      * Denies the access of the user.
143 143
      * The default implementation will redirect the user to the login page if he is a guest;
144 144
      * if the user is already logged, a 403 HTTP exception will be thrown.
145
-     * @param User|false $user the current user or boolean `false` in case of detached User component
146 145
      * @throws ForbiddenHttpException if the user is already logged in or in case of detached User component
146
+     * @param Action $action
147 147
      */
148 148
     protected function denyAccess($action)
149 149
     {
Please login to merge, or discard this patch.