GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 1ba1f4...ea41a5 )
by Alexey
05:37
created
modules/product/modules/import/components/abstracts/AbstractAggregator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
     $this->writer->init();
46 46
   }
47 47
 
48
+  /**
49
+   * @param integer $rowIndex
50
+   * @param string $file
51
+   */
48 52
   public function collect($data, $rowIndex, $file)
49 53
   {
50 54
     $groupIndex = !empty($this->groupByColumn) || $this->groupByColumn === 0 ? $data[$this->groupByColumn] : $this->innerIndexCounter++;
Please login to merge, or discard this patch.
protected/modules/product/modules/import/components/ImportHelper.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
   }
31 31
 
32 32
   /**
33
-   * @param $folder
33
+   * @param string $folder
34 34
    * @param array $extensions
35 35
    *
36 36
    * @return array
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
   /**
74 74
    * Преобразует индекс колонки exсel в номер столбца в 1 - A, 2 - B
75 75
    *
76
-   * @param $number
76
+   * @param double $number
77 77
    *
78 78
    * @return string
79 79
    */
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
    * Преобразует дивпазон индексов колонок exсel в массив
98 98
    * например 'a-c' в array('A', 'B', 'C');
99 99
    *
100
-   * @param $string
100
+   * @param string $string
101 101
    *
102 102
    * @return array
103 103
    */
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
     return $array;
122 122
   }
123 123
 
124
+  /**
125
+   * @param string $className
126
+   */
124 127
   public static function getModelWithoutBehaviors($className, $scenario = null)
125 128
   {
126 129
     /**
@@ -157,7 +160,7 @@  discard block
 block discarded – undo
157 160
   /**
158 161
    * Оборачивает путь в слеши, исключаея дублирование
159 162
    *
160
-   * @param $path
163
+   * @param string $path
161 164
    * @param string $wrapper
162 165
    *
163 166
    * @return string
@@ -170,7 +173,7 @@  discard block
 block discarded – undo
170 173
   /**
171 174
    * Оборачивает начало путь в слеш, исключаея дублирование
172 175
    *
173
-   * @param $path
176
+   * @param string $path
174 177
    * @param string $wrapper
175 178
    * @param bool $clearEnd
176 179
    *
Please login to merge, or discard this patch.
protected/modules/product/modules/import/components/ImportProductWriter.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -176,6 +176,9 @@  discard block
 block discarded – undo
176 176
     $this->successWriteProductsAmount++;
177 177
   }
178 178
 
179
+  /**
180
+   * @param BProduct $product
181
+   */
179 182
   protected function prepareAssignmentAndGetSectionModel(&$product, array $item)
180 183
   {
181 184
     $sectionModel = null;
@@ -449,6 +452,9 @@  discard block
 block discarded – undo
449 452
     }
450 453
   }
451 454
 
455
+  /**
456
+   * @param string $paramId
457
+   */
452 458
   private function getVariantId($paramId, $name)
453 459
   {
454 460
     if( !$variant = Arr::get($this->parameterVariantsCache, $paramId.$name, BProductParamVariant::model()->findByAttributes(array('param_id' => $paramId, 'name' => $name))) )
@@ -480,6 +486,9 @@  discard block
 block discarded – undo
480 486
     return $variant->id;
481 487
   }
482 488
 
489
+  /**
490
+   * @param string $url
491
+   */
483 492
   protected function createUniqueUrl($url)
484 493
   {
485 494
     if( is_null($this->urlCache) )
Please login to merge, or discard this patch.
protected/modules/product/modules/import/components/ProductAggregator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@
 block discarded – undo
48 48
     $this->_label = $value;
49 49
   }
50 50
 
51
+  /**
52
+   * @return string
53
+   */
51 54
   public function getLayout()
52 55
   {
53 56
     return $this->layout ? $this->layout : $this->getElementsLayout($this->parent);
Please login to merge, or discard this patch.
protected/components/cli/ConsoleFileLogger.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
    */
15 15
   private $logger;
16 16
 
17
+  /**
18
+   * @param string $fileName
19
+   */
17 20
   public function __construct($fileName)
18 21
   {
19 22
     $this->logger = new CLogger();
Please login to merge, or discard this patch.
protected/components/cli/ConsoleProgressBar.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,6 +270,9 @@  discard block
 block discarded – undo
270 270
     }
271 271
   }
272 272
 
273
+  /**
274
+   * @param string $key
275
+   */
273 276
   public function setValueMap($key, $value)
274 277
   {
275 278
     $this->valueMap[$key] = $value;
@@ -442,7 +445,7 @@  discard block
 block discarded – undo
442 445
    *
443 446
    * @param mixed $str
444 447
    *
445
-   * @return void
448
+   * @return string
446 449
    */
447 450
   protected function stripEscapeSequences($str)
448 451
   {
Please login to merge, or discard this patch.
protected/share/helpers/Arr.php 1 patch
Doc Comments   +14 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
    * @param mixed $array
13 13
    * @param mixed $key
14 14
    * @param mixed $default
15
-   * @param mixed $strict_default_check
15
+   * @param boolean $strict_default_check
16 16
    *
17 17
    * @return mixed
18 18
    */
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
   /**
120 120
    * Проверка массива на наличие ключей
121 121
    *
122
-   * @param array $search
122
+   * @param integer[] $search
123 123
    * @param mixed $keys
124 124
    *
125 125
    * @return bool
@@ -177,10 +177,10 @@  discard block
 block discarded – undo
177 177
   /**
178 178
    * Проверим, пересекаются ли два массива
179 179
    *
180
-   * @param mixed $arr1
180
+   * @param integer[] $arr1
181 181
    * @param mixed $arr2
182 182
    *
183
-   * @return mixed
183
+   * @return boolean
184 184
    */
185 185
   public static function isIntersec(array $arr1 = array(), array $arr2 = array())
186 186
   {
@@ -231,10 +231,10 @@  discard block
 block discarded – undo
231 231
   /**
232 232
    * @static
233 233
    *
234
-   * @param $glue
235
-   * @param array $array
234
+   * @param string $glue
235
+   * @param string[] $array
236 236
    *
237
-   * @return mixed
237
+   * @return string
238 238
    */
239 239
   public static function implode(array $array, $glue)
240 240
   {
@@ -322,8 +322,8 @@  discard block
 block discarded – undo
322 322
 
323 323
   /**
324 324
    * @param $array
325
-   * @param $itemKey
326
-   * @param $item
325
+   * @param integer $itemKey
326
+   * @param integer $item
327 327
    */
328 328
   public static function push(&$array, $itemKey, $item)
329 329
   {
@@ -361,8 +361,8 @@  discard block
 block discarded – undo
361 361
   }
362 362
 
363 363
   /**
364
-   * @param $array - массив элементы которого нужно отфильтровать
365
-   * @param string|array $keys - ключ или массив ключей элементов $array которые нужно сравнить с $value
364
+   * @param ProductParameterName[] $array - массив элементы которого нужно отфильтровать
365
+   * @param string[] $keys - ключ или массив ключей элементов $array которые нужно сравнить с $value
366 366
    * @param $value
367 367
    * @param $condition - OR или AND условие сравнения нескольких ключей
368 368
    *
@@ -454,6 +454,9 @@  discard block
 block discarded – undo
454 454
     return self::next($revers, $current, $cycle);
455 455
   }
456 456
 
457
+  /**
458
+   * @param integer $countColumns
459
+   */
457 460
   private static function createMatrix($countColumns, $array)
458 461
   {
459 462
     $matrix = array();
Please login to merge, or discard this patch.
protected/share/helpers/PriceHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
 
90 90
   /**
91 91
    * Возвращает процент "экономии"
92
-   * @param $oldPrice
93
-   * @param $price
92
+   * @param integer $oldPrice
93
+   * @param integer $price
94 94
    * @param bool $ceil округлять до целого
95 95
    *
96 96
    * @return float
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
    * Возвращает число процентного соотношения $percent от числа $price
127 127
    *
128 128
    * @param $price число
129
-   * @param $percent процент
129
+   * @param string $percent процент
130 130
    * @param bool $ceil округлять до целого
131 131
    *
132 132
    * @return float число
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
    * Удалает из цены все символы кроме 0-9 и "."
161 161
    * @param $price
162 162
    *
163
-   * @return mixed
163
+   * @return double
164 164
    */
165 165
   public static function clear($price)
166 166
   {
Please login to merge, or discard this patch.