Completed
Push — master ( 1dd400...cdfa80 )
by Alexey
04:26
created
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/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.
system/modules/Files/models/File.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
     }
41 41
   }
42 42
 
43
+  /**
44
+   * @return string
45
+   */
43 46
   public function getRealPath() {
44 47
     $sitePath = \App::$primary->path;
45 48
     return "{$sitePath}{$this->path}";
Please login to merge, or discard this patch.
system/Inji/Model.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -437,6 +437,9 @@  discard block
 block discarded – undo
437 437
     }
438 438
   }
439 439
 
440
+  /**
441
+   * @param boolean $new
442
+   */
440 443
   public function logChanges($new) {
441 444
     if (!App::$cur->db->connect || !App::$cur->dashboard) {
442 445
       return false;
@@ -539,7 +542,7 @@  discard block
 block discarded – undo
539 542
   /**
540 543
    * Information extractor for col relations path
541 544
    * 
542
-   * @param string|array $info
545
+   * @param string $info
543 546
    * @return array
544 547
    */
545 548
   public static function parseColRecursion($info) {
@@ -625,7 +628,7 @@  discard block
 block discarded – undo
625 628
    * Generate params string for col by name
626 629
    * 
627 630
    * @param string $colName
628
-   * @return boolean|string
631
+   * @return false|string
629 632
    */
630 633
   public static function genColParams($colName) {
631 634
     if (empty(static::$cols[$colName]) || static::$storage['type'] == 'moduleConfig') {
@@ -780,7 +783,7 @@  discard block
 block discarded – undo
780 783
   /**
781 784
    * return relations list
782 785
    * 
783
-   * @return array
786
+   * @return string
784 787
    */
785 788
   public static function relations() {
786 789
     return [];
@@ -1303,7 +1306,7 @@  discard block
 block discarded – undo
1303 1306
    * 
1304 1307
    * @param array $params
1305 1308
    * @param array $where
1306
-   * @return boolean
1309
+   * @return false|null
1307 1310
    */
1308 1311
   public static function update($params, $where = []) {
1309 1312
     static::fixPrefix($params);
Please login to merge, or discard this patch.