Completed
Push — master ( c30967...3bd52a )
by Andrii
03:06
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/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/ActiveRecord.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@
 block discarded – undo
207 207
         return $result === false ? false : true;
208 208
     }
209 209
 
210
+    /**
211
+     * @param string $defaultScenario
212
+     */
210 213
     public function batchQuery($defaultScenario, $data = [], array $options = [])
211 214
     {
212 215
         $options['batch'] = true;
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/AbstractQueryBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -137,6 +137,10 @@
 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;
Please login to merge, or discard this patch.
src/Query.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@  discard block
 block discarded – undo
105 105
         return $rows;
106 106
     }
107 107
 
108
+    /**
109
+     * @param \yii\db\Connection $db
110
+     */
108 111
     public function searchAll($db = null)
109 112
     {
110 113
         return $this->searchBatch($db)->getData();
@@ -153,6 +156,10 @@  discard block
 block discarded – undo
153 156
         return $this;
154 157
     }
155 158
 
159
+    /**
160
+     * @param string $name
161
+     * @param boolean $value
162
+     */
156 163
     public function addOption($name, $value)
157 164
     {
158 165
         if (!isset($this->options[$name])) {
Please login to merge, or discard this patch.