Completed
Push — master ( 1dd400...cdfa80 )
by Alexey
04:26
created
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.