Completed
Push — master ( 403356...9f0144 )
by Andrii
10:50
created
src/AbstractQueryBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -109,6 +109,10 @@
 block discarded – undo
109 109
         return $this->createRequest($query);
110 110
     }
111 111
 
112
+    /**
113
+     * @param string $action
114
+     * @param string $table
115
+     */
112 116
     public function perform($action, $table, $body, $options = [])
113 117
     {
114 118
         $query = $this->createQuery($action, $table, $options)->body($body);
Please login to merge, or discard this patch.
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/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 $dbname
81
+     * @param string $dbname
82 82
      * @return ConnectionInterface|AbstractConnection
83 83
      */
84 84
     public static function getDb($dbname = null)
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/ActiveRecord.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -235,6 +235,9 @@  discard block
 block discarded – undo
235 235
         return $result === false ? false : true;
236 236
     }
237 237
 
238
+    /**
239
+     * @param string $defaultScenario
240
+     */
238 241
     public function performScenario($defaultScenario, $data, array $options = [])
239 242
     {
240 243
         $action = $this->getScenarioAction($defaultScenario);
@@ -242,6 +245,9 @@  discard block
 block discarded – undo
242 245
         return static::perform($action, $data, $options);
243 246
     }
244 247
 
248
+    /**
249
+     * @param string $action
250
+     */
245 251
     public static function perform($action, $data, array $options = [])
246 252
     {
247 253
         return static::getDb()->createCommand()->perform($action, static::from(), $data, $options);
Please login to merge, or discard this patch.