Completed
Push — master ( 97b00d...004fa5 )
by Alexey
07:14
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/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/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/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 1 patch
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.
system/modules/Ui/objects/Form.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
         \App::$cur->view->widget('Ui\\' . $this->options['widgetsDir'] . '/begin', $params);
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $type
50
+     * @param string $name
51
+     */
48 52
     function input($type, $name, $label = '', $options = [])
49 53
     {
50 54
         switch ($type) {
Please login to merge, or discard this patch.
system/modules/Ui/objects/Table.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
     public $attributes = [];
24 24
     public $indexCol = null;
25 25
 
26
+    /**
27
+     * @param string[] $cols
28
+     */
26 29
     function setCols($cols)
27 30
     {
28 31
         $this->cols = $cols;
Please login to merge, or discard this patch.
system/modules/Users/Users.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
         }
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $user_mail
97
+     */
95 98
     function passre($user_mail)
96 99
     {
97 100
         $user = $this->get($user_mail, 'mail');
@@ -312,6 +315,9 @@  discard block
 block discarded – undo
312 315
         return $user->id;
313 316
     }
314 317
 
318
+    /**
319
+     * @param string $pass
320
+     */
315 321
     function hashpass($pass)
316 322
     {
317 323
         return password_hash($pass, PASSWORD_DEFAULT);
Please login to merge, or discard this patch.