Completed
Push — master ( 96de4d...ad5277 )
by Andrii
13:37
created
src/curl/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         } elseif ($this->getVersion() === '1.0') {
71 71
             $requestOptions[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;
72 72
         } else {
73
-            throw new RequestErrorException('Request version "' . $this->getVersion() . '" is not support by cURL', $this);
73
+            throw new RequestErrorException('Request version "'.$this->getVersion().'" is not support by cURL', $this);
74 74
         }
75 75
 
76 76
         $options = ArrayHelper::merge($this->defaultOptions, $this->getDb()->config, $requestOptions);
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.