Completed
Push — master ( 090eb4...72fae7 )
by Dmitry
17:23 queued 02:35
created
src/actions/ProxyAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @return bool|string
56
+     * @return false|string
57 57
      */
58 58
     public function getPjaxUrl()
59 59
     {
Please login to merge, or discard this patch.
src/widgets/Gravatar.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         return $this->_emailHash;
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $email
39
+     */
37 40
     public static function hashEmail($email)
38 41
     {
39 42
         $email = strtolower(trim($email));
Please login to merge, or discard this patch.
src/console/TranslateController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -206,6 +206,9 @@
 block discarded – undo
206 206
         return $translation;
207 207
     }
208 208
 
209
+    /**
210
+     * @param string $dirName
211
+     */
209 212
     protected function saveMessagesToPHPEnhanced($messages, $dirName, $overwrite, $removeUnused, $sort, $language)
210 213
     {
211 214
         foreach ($messages as $category => $msgs) {
Please login to merge, or discard this patch.
src/base/Controller.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
50 50
     protected $_internalActions;
51 51
 
52 52
     /**
53
-     * @param string $submodel the submodel that will be added to the ClassName
54 53
      * @return string Main Model class name
55 54
      */
56 55
     public static function modelClassName()
@@ -181,11 +180,17 @@  discard block
 block discarded – undo
181 180
         return $this->render('index');
182 181
     }
183 182
 
183
+    /**
184
+     * @param string $id
185
+     */
184 186
     public function setInternalAction($id, $action)
185 187
     {
186 188
         $this->_internalActions[$id] = $action;
187 189
     }
188 190
 
191
+    /**
192
+     * @param string $id
193
+     */
189 194
     public function hasInternalAction($id)
190 195
     {
191 196
         return array_key_exists($id, $this->_internalActions);
Please login to merge, or discard this patch.
src/widgets/FileRender.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -143,6 +143,9 @@
 block discarded – undo
143 143
         return ['/file/view', 'id' => $this->file->id];
144 144
     }
145 145
 
146
+    /**
147
+     * @param string $ext
148
+     */
146 149
     private function getExtIcon($ext)
147 150
     {
148 151
         $defaultIcon = 'fa-file-text-o';
Please login to merge, or discard this patch.
src/actions/SwitchRule.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
81 81
         return $this->switch->controller->runAction($action);
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $postfix
86
+     */
84 87
     public function run($postfix = null)
85 88
     {
86 89
         return $this->runAction($postfix);
@@ -90,7 +93,7 @@  discard block
 block discarded – undo
90 93
      * Setter for action. Saves the action to the controller.
91 94
      *
92 95
      * @param mixed $action action config
93
-     * @param null $postfix
96
+     * @param string $postfix
94 97
      */
95 98
     public function setAction($action, $postfix = null)
96 99
     {
Please login to merge, or discard this patch.
src/components/FileStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      * Method downloads the requested file from the API and saves it to the local machine.
162 162
      * Method respects authentication and access rules.
163 163
      *
164
-     * @param integer|File $file the ID of the file, or the [[File]] model.
164
+     * @param File $file the ID of the file, or the [[File]] model.
165 165
      * When model is passed, no additional query will be performed.
166 166
      * @param bool $overrideCache whether the cache must be invalidated
167 167
      * @throws Exception when fails to save file locally
Please login to merge, or discard this patch.
src/widgets/filePreview/FilePreviewFactory.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * {@inheritdoc}
56
+     * @param string $mimeType
56 57
      */
57 58
     public function resolveGeneratorClass($mimeType)
58 59
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use hipanel\helpers\FileHelper;
14 14
 use hipanel\widgets\filePreview\types\ImagePreviewGenerator;
15
-use hipanel\widgets\filePreview\types\PdfPreviewGenerator;
16 15
 use hipanel\widgets\filePreview\types\PreviewGeneratorInterface;
17 16
 use Yii;
18 17
 
Please login to merge, or discard this patch.
src/components/UiOptionsStorage.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,6 @@
 block discarded – undo
100 100
      * Sets orientation for the $route.
101 101
      *
102 102
      * @param string $route
103
-     * @param string $orientation
104 103
      */
105 104
     public function set($route, $options = [])
106 105
     {
Please login to merge, or discard this patch.