Test Failed
Branch v5 (12d602)
by Alexey
04:51
created
system/Inji/ComposerCmd.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@
 block discarded – undo
122 122
         include getenv('COMPOSER_HOME') . '/vendor/autoload.php';
123 123
     }
124 124
 
125
+    /**
126
+     * @param string $packageName
127
+     */
125 128
     public static function requirePackage($packageName, $version = '', $path = '', $needOutput = false) {
126 129
         if (!$path) {
127 130
             $path = getenv('COMPOSER_HOME');
Please login to merge, or discard this patch.
system/Inji/Model.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -201,7 +201,6 @@  discard block
 block discarded – undo
201 201
      * @param Model $item
202 202
      * @param string $colName
203 203
      * @param boolean $manageHref
204
-     * @param array $params
205 204
      * @return string
206 205
      */
207 206
     public static function resloveTypeValue($item, $colName, $manageHref = false, $colInfo = []) {
@@ -845,7 +844,7 @@  discard block
 block discarded – undo
845 844
     /**
846 845
      * return relations list
847 846
      *
848
-     * @return array
847
+     * @return string
849 848
      */
850 849
     public static function relations() {
851 850
         return [];
@@ -1248,7 +1247,7 @@  discard block
 block discarded – undo
1248 1247
     /**
1249 1248
      * Return primary key of object
1250 1249
      *
1251
-     * @return mixed
1250
+     * @return boolean
1252 1251
      */
1253 1252
     public function pk() {
1254 1253
         return $this->{$this->index()};
@@ -1767,7 +1766,7 @@  discard block
 block discarded – undo
1767 1766
      * Return model value in object
1768 1767
      *
1769 1768
      * @param string $name
1770
-     * @return \Value|null
1769
+     * @return Value|null
1771 1770
      */
1772 1771
     public function value($name) {
1773 1772
         $fixedName = $name;
Please login to merge, or discard this patch.
system/Inji/Model/Builder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
         return $result->fetchAll(empty($options['array']) ? $this->modelName : '', $this->modelName::index());
92 92
     }
93 93
 
94
+    /**
95
+     * @return boolean
96
+     */
94 97
     public function insert($values) {
95 98
         $query = $this->createQuery();
96 99
         return $query->insert('', $values);
Please login to merge, or discard this patch.
system/Inji/Router.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @param string $folder
17 17
      * @param string $prefix
18
-     * @param int|float $priority
18
+     * @param integer $priority
19 19
      * @param int|bool $moduleIndex
20 20
      * @param array $moduleDirs
21 21
      */
@@ -83,7 +83,6 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Include class by name
85 85
      *
86
-     * @param string $className
87 86
      * @return boolean
88 87
      */
89 88
     public static function loadClass($classPath) {
Please login to merge, or discard this patch.
system/modules/Db/objects/InjiStorage/Result.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
      */
21 21
     public $query;
22 22
 
23
+    /**
24
+     * @param Query $query
25
+     */
23 26
     public function __construct($dbResult, $query) {
24 27
         $this->result = $dbResult;
25 28
         $this->query = $query;
Please login to merge, or discard this patch.
system/modules/Db/objects/Mysql/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public $dbOptions = [];
34 34
 
35 35
     /**
36
-     * @param  $instance
36
+     * @param   $instance
37 37
      */
38 38
     public function __construct($instance = null) {
39 39
         if (!$instance) {
Please login to merge, or discard this patch.