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 ( 951ad1...29ba67 )
by Alexey
08:55
created
protected/modules/product/models/behaviors/BFacetedParameterBehavior.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
     });
106 106
   }
107 107
 
108
+  /**
109
+   * @param string $parameterNameId
110
+   */
108 111
   private function getReindexProductIdList($parameterNameId)
109 112
   {
110 113
     $criteria = new CDbCriteria();
Please login to merge, or discard this patch.
protected/modules/product/models/behaviors/BFacetedProductParamVariant.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
     });
57 57
   }
58 58
 
59
+  /**
60
+   * @param string $parameterNameId
61
+   */
59 62
   private function getReindexProductIdList($parameterNameId)
60 63
   {
61 64
     $criteria = new CDbCriteria();
Please login to merge, or discard this patch.
backend/protected/modules/product/modules/import/components/ImageWriter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -174,6 +174,11 @@  discard block
 block discarded – undo
174 174
     }
175 175
   }
176 176
 
177
+  /**
178
+   * @param string $file
179
+   * @param string $fileName
180
+   * @param string $type
181
+   */
177 182
   protected function write($file, $fileName, $productId, $type)
178 183
   {
179 184
     $record = $this->findRecordByNameAndParent($fileName, $productId);
@@ -339,6 +344,9 @@  discard block
 block discarded – undo
339 344
     }
340 345
   }
341 346
 
347
+  /**
348
+   * @param string $attribute
349
+   */
342 350
   protected function getProductIdByAttribute($attribute, $value)
343 351
   {
344 352
     if( is_null($this->productIdsCache) )
Please login to merge, or discard this patch.
protected/modules/product/modules/import/components/ImportHelper.php 1 patch
Doc Comments   +11 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
   }
33 33
 
34 34
   /**
35
-   * @param $folder
35
+   * @param string $folder
36 36
    * @param array $extensions
37 37
    *
38 38
    * @return array
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
   /**
76 76
    * Преобразует индекс колонки exсel в номер столбца в 1 - A, 2 - B
77 77
    *
78
-   * @param $number
78
+   * @param double $number
79 79
    *
80 80
    * @return string
81 81
    */
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
    * Преобразует дивпазон индексов колонок exсel в массив
100 100
    * например 'a-c' в array('A', 'B', 'C');
101 101
    *
102
-   * @param $string
102
+   * @param string $string
103 103
    *
104 104
    * @return array
105 105
    */
@@ -123,6 +123,9 @@  discard block
 block discarded – undo
123 123
     return $array;
124 124
   }
125 125
 
126
+  /**
127
+   * @param string $className
128
+   */
126 129
   public static function getModelWithoutBehaviors($className, $scenario = null)
127 130
   {
128 131
     /**
@@ -166,7 +169,7 @@  discard block
 block discarded – undo
166 169
   /**
167 170
    * Оборачивает путь в слеши, исключаея дублирование
168 171
    *
169
-   * @param $path
172
+   * @param string $path
170 173
    * @param string $wrapper
171 174
    *
172 175
    * @return string
@@ -218,7 +221,7 @@  discard block
 block discarded – undo
218 221
    * @param $url
219 222
    * @param bool|false $warmUpCache - прогреть
220 223
    *
221
-   * @return mixed|string
224
+   * @return string
222 225
    */
223 226
   public static function createUniqueUrl($table, $url, $warmUpCache = false)
224 227
   {
@@ -269,6 +272,9 @@  discard block
 block discarded – undo
269 272
       self::$urlCache[$table] = null;
270 273
   }
271 274
 
275
+  /**
276
+   * @param string $table
277
+   */
272 278
   private static function getUrls($table, $url = null)
273 279
   {
274 280
     $criteria = new CDbCriteria();
Please login to merge, or discard this patch.
protected/modules/product/modules/import/components/ImportProductWriter.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@  discard block
 block discarded – undo
192 192
     //$product->save();
193 193
   }
194 194
 
195
+  /**
196
+   * @param BProduct $product
197
+   */
195 198
   protected function prepareAssignmentAndGetSectionModel(&$product, array $item)
196 199
   {
197 200
     $sectionModel = null;
@@ -400,8 +403,8 @@  discard block
 block discarded – undo
400 403
   }
401 404
 
402 405
   /**
403
-   * @param $modelName
404
-   * @param $name
406
+   * @param string $modelName
407
+   * @param string $name
405 408
    * @param array $attributes
406 409
    *
407 410
    * @return BProductStructure|BTreeAssignmentBehavior|bool
@@ -499,6 +502,9 @@  discard block
 block discarded – undo
499 502
     }
500 503
   }
501 504
 
505
+  /**
506
+   * @param string $paramId
507
+   */
502 508
   private function getVariantId($paramId, $name)
503 509
   {
504 510
     if( !$variant = Arr::get($this->parameterVariantsCache, $paramId.$name, BProductParamVariant::model()->findByAttributes(array('param_id' => $paramId, 'name' => $name))) )
Please login to merge, or discard this patch.
protected/components/cli/ConsoleFileLogger.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@  discard block
 block discarded – undo
106 106
     $this->collectLogs($this->logger, true);
107 107
   }
108 108
 
109
+  /**
110
+   * @param string $message
111
+   */
109 112
   public function addMemoryUsage(&$message)
110 113
   {
111 114
     $message .= PHP_EOL.'Использовано памяти: '.Yii::app()->format->formatSize(memory_get_usage());
@@ -114,11 +117,17 @@  discard block
 block discarded – undo
114 117
     $message .= sprintf(", la: %.2f,  %.2f, %.2f", $load[0], $load[1], $load[2]).PHP_EOL;
115 118
   }
116 119
 
120
+  /**
121
+   * @param double $time
122
+   */
117 123
   public function formatTime($time)
118 124
   {
119 125
     return sprintf("%d мин. %d с.", $time / 60, $time % 60);
120 126
   }
121 127
 
128
+  /**
129
+   * @param string $timerId
130
+   */
122 131
   public function startTimer($timerId)
123 132
   {
124 133
     if( isset($this->timers[$timerId]) )
@@ -127,6 +136,9 @@  discard block
 block discarded – undo
127 136
     $this->timers[$timerId] = microtime(true);
128 137
   }
129 138
 
139
+  /**
140
+   * @param string $timerId
141
+   */
130 142
   public function finishTimer($timerId, $message = '')
131 143
   {
132 144
     if( !isset($this->timers[$timerId]) )
Please login to merge, or discard this patch.
protected/share/helpers/ViewHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 
146 146
   /**
147 147
    * Показать flash сообщение
148
-   * @param $message
148
+   * @param string $message
149 149
    * @param string $key
150 150
    */
151 151
   public static function showFlash($message, $key = 'success')
Please login to merge, or discard this patch.