Completed
Push — master ( c8aa88...97b00d )
by Alexey
11:42
created
system/Inji/ComposerCmd.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
         self::command('install', false, $path);
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $command
63
+     * @param string $path
64
+     */
61 65
     static function command($command, $needOutput = true, $path = null)
62 66
     {
63 67
         include_once 'composer/vendor/autoload.php';
Please login to merge, or discard this patch.
system/Inji/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * Get all posible directorys for module files
82 82
      * 
83 83
      * @param string $moduleName
84
-     * @return array
84
+     * @return string
85 85
      */
86 86
     static function getModulePaths($moduleName)
87 87
     {
Please login to merge, or discard this patch.
system/Inji/Tools.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -216,6 +216,7 @@
 block discarded – undo
216 216
      * @param  $number Integer Число на основе которого нужно сформировать окончание
217 217
      * @param  $endingsArray  Array Массив слов или окончаний для чисел (1, 4, 5),
218 218
      *         например array('яблоко', 'яблока', 'яблок')
219
+     * @param string[] $endingArray
219 220
      * @return String
220 221
      */
221 222
     static function getNumEnding($number, $endingArray)
Please login to merge, or discard this patch.
system/Inji/Value.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
     public $model = null;
15 15
     public $type = 'string';
16 16
 
17
+    /**
18
+     * @param Model $model
19
+     */
17 20
     function __construct($model, $key)
18 21
     {
19 22
         $this->model = $model;
Please login to merge, or discard this patch.
system/modules/Db/objects/Mysql/Query.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
     public $params = [];
30 30
     public $distinct = false;
31 31
 
32
+    /**
33
+     * @param  $instance
34
+     */
32 35
     function __construct($instance = null)
33 36
     {
34 37
         if (!$instance) {
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         return $this->curInstance->pdo->lastInsertId();
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $table
55
+     */
50 56
     public function select($table)
51 57
     {
52 58
         $this->operation = 'SELECT';
Please login to merge, or discard this patch.
system/modules/Ecommerce/Ecommerce.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -283,7 +283,6 @@  discard block
 block discarded – undo
283 283
     /**
284 284
      * Getting items with params
285 285
      * 
286
-     * @param array $params
287 286
      * @return array
288 287
      */
289 288
     function getItems($options = [])
@@ -296,7 +295,6 @@  discard block
 block discarded – undo
296 295
     /**
297 296
      * Return count of items with params
298 297
      * 
299
-     * @param array $params
300 298
      * @return int
301 299
      */
302 300
     function getItemsCount($options = [])
Please login to merge, or discard this patch.
system/modules/Modules/Modules.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
         return $modelCols;
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $colPrefix
50
+     * @param string $tableName
51
+     */
48 52
     function parseColsForTable($cols, $colPrefix, $tableName)
49 53
     {
50 54
 
Please login to merge, or discard this patch.
system/modules/Ui/objects/ActiveForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
     /**
281 281
      * Draw error message
282 282
      * 
283
-     * @param text $errorText
283
+     * @param string $errorText
284 284
      */
285 285
     function drawError($errorText)
286 286
     {
Please login to merge, or discard this patch.
system/modules/Ui/objects/DataManager.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,6 +319,9 @@  discard block
 block discarded – undo
319 319
         return $rows;
320 320
     }
321 321
 
322
+    /**
323
+     * @param DataManager $dataManager
324
+     */
322 325
     static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null)
323 326
     {
324 327
         $modelName = get_class($item);
@@ -668,7 +671,7 @@  discard block
 block discarded – undo
668 671
     /**
669 672
      * Draw error message
670 673
      * 
671
-     * @param text $errorText
674
+     * @param string $errorText
672 675
      */
673 676
     function drawError($errorText)
674 677
     {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -608,22 +608,22 @@
 block discarded – undo
608 608
         ?>
609 609
         <ul class="nav nav-list-categorys" data-col='tree_path'>
610 610
           <?php
611
-          $categoryModel = $this->managerOptions['categorys']['model'];
612
-          $order = [];
613
-          if (!empty($this->managerOptions['sortMode'])) {
614
-              $order[] = ['weight', 'asc'];
615
-          }
616
-          $categorys = $categoryModel::getList(['order' => $order]);
617
-          echo "<li>
611
+            $categoryModel = $this->managerOptions['categorys']['model'];
612
+            $order = [];
613
+            if (!empty($this->managerOptions['sortMode'])) {
614
+                $order[] = ['weight', 'asc'];
615
+            }
616
+            $categorys = $categoryModel::getList(['order' => $order]);
617
+            echo "<li>
618 618
                         <label class='nav-header'>
619 619
                             <a href='#' onclick='inji.Ui.dataManagers.get(this).switchCategory(this);return false;' data-path ='/'>/</a> 
620 620
                         </label>
621 621
                     </li>";
622
-          foreach ($categorys as $category) {
623
-              if ($category->parent_id == 0)
624
-                  $this->showCategory($categorys, $category);
625
-          }
626
-          ?>
622
+            foreach ($categorys as $category) {
623
+                if ($category->parent_id == 0)
624
+                    $this->showCategory($categorys, $category);
625
+            }
626
+            ?>
627 627
         </ul>
628 628
         <?php
629 629
     }
Please login to merge, or discard this patch.