Completed
Push — master ( 185e5e...dc5aa9 )
by Alexander
03:43
created
app/modules/Application/Form/Form.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected $helper;
20 20
 
21
+    /**
22
+     * @param string $name
23
+     */
21 24
     public function renderDecorated($name)
22 25
     {
23 26
         if (!$this->has($name)) {
@@ -90,6 +93,9 @@  discard block
 block discarded – undo
90 93
         return $html;
91 94
     }
92 95
 
96
+    /**
97
+     * @param \Phalcon\Forms\ElementInterface|null $element
98
+     */
93 99
     private function makeLabel($element)
94 100
     {
95 101
         if ($element->getLabel()) {
Please login to merge, or discard this patch.
app/modules/Application/Widget/AbstractWidget.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 
14 14
     private $module;
15 15
 
16
+    /**
17
+     * @param string $template
18
+     */
16 19
     public function widgetPartial($template, array $data = array())
17 20
     {
18 21
         return $this->helper->modulePartial($template, $data, $this->module);
Please login to merge, or discard this patch.
app/modules/Cms/Form/ConfigurationForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 use Application\Form\Form;
10 10
 use Phalcon\Forms\Element\Check;
11
-use Phalcon\Forms\Element\Select;
12 11
 use Phalcon\Forms\Element\Text;
13 12
 
14 13
 class ConfigurationForm extends Form
Please login to merge, or discard this patch.
app/modules/Cms/Form/JavascriptForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 use Application\Form\Form;
10 10
 use Phalcon\Forms\Element\TextArea;
11
-use Phalcon\Forms\Element\Hidden;
12 11
 
13 12
 class JavascriptForm extends Form
14 13
 {
Please login to merge, or discard this patch.
app/modules/Image/Storage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -350,6 +350,9 @@  discard block
 block discarded – undo
350 350
         $this->saveImage($image, $originalAbsPath);
351 351
     }
352 352
 
353
+    /**
354
+     * @param string $originalAbsPath
355
+     */
353 356
     private function checkOriginalExists($originalAbsPath)
354 357
     {
355 358
         if (!file_exists($originalAbsPath)) {
@@ -362,6 +365,9 @@  discard block
 block discarded – undo
362 365
         }
363 366
     }
364 367
 
368
+    /**
369
+     * @param string $originalAbsPath
370
+     */
365 371
     private function saveImage($image, $originalAbsPath)
366 372
     {
367 373
         // Если оригинал не заблокирован, блокируем. Это необходимо для предотвращения множественной генерации кеш-файла параллельными запросами
Please login to merge, or discard this patch.
app/modules/Publication/Controller/AdminController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@
 block discarded – undo
146 146
         $this->helper->title($this->helper->at('Unpublishing'), true);
147 147
     }
148 148
 
149
+    /**
150
+     * @param Publication|null $model
151
+     */
149 152
     private function uploadImage($model)
150 153
     {
151 154
         if ($this->request->isPost()) {
Please login to merge, or discard this patch.
app/modules/Publication/Model/Type.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     }
250 250
 
251 251
     /**
252
-     * @return mixed
252
+     * @return integer
253 253
      */
254 254
     public function getLimit()
255 255
     {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     }
326 326
 
327 327
     /**
328
-     * @param mixed $display_date
328
+     * @param integer $display_date
329 329
      */
330 330
     public function setDisplayDate($display_date)
331 331
     {
Please login to merge, or discard this patch.
app/modules/Seo/Controller/ManagerController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 namespace Seo\Controller;
8 8
 
9 9
 use Application\Mvc\Controller;
10
-use Seo\Form\ManagerAddForm;
11 10
 use Seo\Form\ManagerForm;
12 11
 use Seo\Model\Manager;
13 12
 
Please login to merge, or discard this patch.
app/modules/Seo/Plugin/SeoManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         }
36 36
     }
37 37
 
38
+    /**
39
+     * @param string|null $url
40
+     */
38 41
     private function matchingUrl($url)
39 42
     {
40 43
         $urls = Manager::urls();
Please login to merge, or discard this patch.