Completed
Push — master ( 04e1cf...739024 )
by Klochok
05:32
created
src/debug/DebugPanel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@
 block discarded – undo
130 130
         return $this->_viewPath;
131 131
     }
132 132
 
133
+    /**
134
+     * @param string $file
135
+     */
133 136
     public function render($file, $data)
134 137
     {
135 138
         return Yii::$app->view->render($file, $data, $this);
Please login to merge, or discard this patch.
src/Query.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -133,6 +133,10 @@
 block discarded – undo
133 133
         return $this;
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $name
138
+     * @param boolean $value
139
+     */
136 140
     public function addOption($name, $value)
137 141
     {
138 142
         if (!isset($this->options[$name])) {
Please login to merge, or discard this patch.
src/AbstractRequest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         return ($this->isFullUri($this->uri) ? '' : $this->getDb()->getBaseUri()) . $this->uri;
88 88
     }
89 89
 
90
+    /**
91
+     * @param string $uri
92
+     */
90 93
     public function isFullUri($uri)
91 94
     {
92 95
         return preg_match('/^https?:\\/\\//i', $uri);
Please login to merge, or discard this patch.
src/curl/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @return mixed|string
66
+     * @return string
67 67
      */
68 68
     public function getRawData()
69 69
     {
Please login to merge, or discard this patch.
src/AbstractConnection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     protected $_errorChecker;
79 79
 
80 80
     /**
81
-     * @param null $name
81
+     * @param string $name
82 82
      * @return ConnectionInterface|AbstractConnection
83 83
      */
84 84
     public static function getDb($name = null, $class = ConnectionInterface::class)
Please login to merge, or discard this patch.
src/Collection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -376,8 +376,8 @@
 block discarded – undo
376 376
      * Try to find the model data if the response from the API came without an index by ID
377 377
      *
378 378
      * @param $data
379
-     * @param $model
380
-     * @param $pk
379
+     * @param ActiveRecord $model
380
+     * @param string $pk
381 381
      * @return mixed
382 382
      */
383 383
     private function findAssociatedModelData($data, $model, $pk)
Please login to merge, or discard this patch.
src/AbstractResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * @param $name
100
-     * @return array
100
+     * @return string[]
101 101
      */
102 102
     abstract public function getHeader($name);
103 103
 
Please login to merge, or discard this patch.
src/AbstractQueryBuilder.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -137,6 +137,10 @@  discard block
 block discarded – undo
137 137
         return $this->createRequest($query);
138 138
     }
139 139
 
140
+    /**
141
+     * @param string $action
142
+     * @param string $table
143
+     */
140 144
     public function createQuery($action, $table, array $options = [])
141 145
     {
142 146
         $class = $this->db->queryClass;
@@ -287,6 +291,9 @@  discard block
 block discarded – undo
287 291
         return [$key . '_' . $operator => reset($operands)];
288 292
     }
289 293
 
294
+    /**
295
+     * @param \Countable $columns
296
+     */
290 297
     protected function buildCompositeInCondition($operator, $columns, $values)
291 298
     {
292 299
         throw new NotSupportedException('composite in is not supported by HiArt.');
Please login to merge, or discard this patch.