Completed
Push — master ( 6e0e1d...0afdc4 )
by Alexey
04:12
created
system/modules/Ui/objects/DataManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -396,6 +396,9 @@
 block discarded – undo
396 396
     return $rows;
397 397
   }
398 398
 
399
+  /**
400
+   * @param DataManager $dataManager
401
+   */
399 402
   public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null) {
400 403
     $modelName = get_class($item);
401 404
     if (!class_exists($modelName)) {
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
@@ -218,6 +218,7 @@
 block discarded – undo
218 218
    * @param  $number Integer Число на основе которого нужно сформировать окончание
219 219
    * @param  $endingsArray  Array Массив слов или окончаний для чисел (1, 4, 5),
220 220
    *         например array('яблоко', 'яблока', 'яблок')
221
+   * @param string[] $endingArray
221 222
    * @return String
222 223
    */
223 224
   public static function getNumEnding($number, $endingArray) {
Please login to merge, or discard this patch.
system/Inji/Model.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
   /**
383 383
    * Information extractor for col relations path
384 384
    * 
385
-   * @param string|array $info
385
+   * @param string $info
386 386
    * @return array
387 387
    */
388 388
   public static function parseColRecursion($info) {
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
    * Generate params string for col by name
466 466
    * 
467 467
    * @param string $colName
468
-   * @return boolean|string
468
+   * @return false|string
469 469
    */
470 470
   public static function genColParams($colName) {
471 471
     if (empty(static::$cols[$colName]) || static::$storage['type'] == 'moduleConfig') {
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
   /**
620 620
    * return relations list
621 621
    * 
622
-   * @return array
622
+   * @return string
623 623
    */
624 624
   public static function relations() {
625 625
     return [];
@@ -1127,7 +1127,7 @@  discard block
 block discarded – undo
1127 1127
    * 
1128 1128
    * @param array $params
1129 1129
    * @param array $where
1130
-   * @return boolean
1130
+   * @return false|null
1131 1131
    */
1132 1132
   public static function update($params, $where = []) {
1133 1133
     static::fixPrefix($params);
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
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
   public $params = [];
32 32
   public $distinct = false;
33 33
 
34
+  /**
35
+   * @param  $instance
36
+   */
34 37
   public function __construct($instance = null) {
35 38
     if (!$instance) {
36 39
       $this->curInstance = \App::$cur->db->connection;
@@ -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
     $this->operation = 'SELECT';
52 58
     $this->table = $table;
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
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
     }
117 117
   }
118 118
 
119
+  /**
120
+   * @param string $user_mail
121
+   */
119 122
   public function passre($user_mail) {
120 123
     $user = $this->get($user_mail, 'mail');
121 124
     if (!$user) {
@@ -400,6 +403,9 @@  discard block
 block discarded – undo
400 403
     return $return;
401 404
   }
402 405
 
406
+  /**
407
+   * @param integer $cat_id
408
+   */
403 409
   public function addUserActivity($user_id, $cat_id, $text = '') {
404 410
     $ua = new Users\Activity([
405 411
         'user_id' => $user_id,
Please login to merge, or discard this patch.