Test Failed
Push — master ( 926856...cf9858 )
by Alexey
04:51
created
system/Inji/Model.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,6 @@  discard block
 block discarded – undo
168 168
      * @param Model $item
169 169
      * @param string $colName
170 170
      * @param boolean $manageHref
171
-     * @param array $params
172 171
      * @return string
173 172
      */
174 173
     public static function resloveTypeValue($item, $colName, $manageHref = false, $colInfo = []) {
@@ -794,7 +793,7 @@  discard block
 block discarded – undo
794 793
     /**
795 794
      * return relations list
796 795
      *
797
-     * @return array
796
+     * @return string
798 797
      */
799 798
     public static function relations() {
800 799
         return [];
Please login to merge, or discard this patch.
system/modules/I18n/objects/Text.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -10,6 +10,10 @@
 block discarded – undo
10 10
 class Text extends \Object {
11 11
     public static $strings = [];
12 12
 
13
+    /**
14
+     * @param string $module
15
+     * @param string $code
16
+     */
13 17
     public static function module($module, $code, $params = [], $default = false, $lang = false) {
14 18
         $paramsKeys = array_keys($params);
15 19
         foreach ($paramsKeys as &$paramsKey) {
Please login to merge, or discard this patch.
system/modules/Users/Users.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -257,6 +257,9 @@
 block discarded – undo
257 257
         return $user;
258 258
     }
259 259
 
260
+    /**
261
+     * @param boolean $msg
262
+     */
260 263
     private function msgOrErr($err, $msg) {
261 264
         if ($msg) {
262 265
             Msg::add($err, 'danger');
Please login to merge, or discard this patch.
system/Inji/App.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@
 block discarded – undo
100 100
         return !empty($this->_objects[$moduleName]);
101 101
     }
102 102
 
103
+    /**
104
+     * @return string
105
+     */
103 106
     public function getDomain($decode = false) {
104 107
         return !empty($this->config['site']['domain']) ? $this->config['site']['domain'] : ($decode ? idn_to_utf8(INJI_DOMAIN_NAME) : INJI_DOMAIN_NAME);
105 108
     }
Please login to merge, or discard this patch.
system/Inji/Cache.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -128,6 +128,7 @@
 block discarded – undo
128 128
      * Get cache dir for app
129 129
      *
130 130
      * @param App $app
131
+     * @param string $dirname
131 132
      * @return string
132 133
      */
133 134
     public static function getDir($dirname, $app = null) {
Please login to merge, or discard this patch.
system/modules/Money/Money.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         $mr->save();
84 84
     }
85 85
 
86
+    /**
87
+     * @param integer $userId
88
+     */
86 89
     public function getUserBlocks($userId = null) {
87 90
         $userId = $userId ? $userId : \Users\User::$cur->id;
88 91
         $blocked = \Money\Wallet\Block::getList(['where' => [
Please login to merge, or discard this patch.
system/modules/Ui/objects/DataManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -549,6 +549,9 @@
 block discarded – undo
549 549
         return $summarys;
550 550
     }
551 551
 
552
+    /**
553
+     * @param DataManager $dataManager
554
+     */
552 555
     public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null) {
553 556
         $modelName = get_class($item);
554 557
         if (!class_exists($modelName)) {
Please login to merge, or discard this patch.
system/modules/Users/models/User/Info.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         ];
87 87
     }
88 88
 
89
+    /**
90
+     * @return string
91
+     */
89 92
     public function name() {
90 93
         if ($this->first_name . $this->last_name . $this->middle_name) {
91 94
             $name = '';
Please login to merge, or discard this patch.
system/Inji/Tools.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -452,6 +452,9 @@
 block discarded – undo
452 452
         }
453 453
     }
454 454
 
455
+    /**
456
+     * @param string $dir
457
+     */
455 458
     public static function getDirContents($dir, &$results = array(), $curPath = '') {
456 459
         $files = scandir($dir);
457 460
         foreach ($files as $key => $value) {
Please login to merge, or discard this patch.