Completed
Push — master ( 2a1eef...f81184 )
by Dmitry
02:53
created
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   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      *
128 128
      * @throws InvalidConfigException
129 129
      *
130
-     * @return string|callable|array
130
+     * @return string
131 131
      *
132 132
      * @author SilverFire
133 133
      */
@@ -315,6 +315,9 @@  discard block
 block discarded – undo
315 315
         return $result === false ? false : true;
316 316
     }
317 317
 
318
+    /**
319
+     * @param string $defaultScenario
320
+     */
318 321
     public function performScenario($defaultScenario, $data, array $options = [])
319 322
     {
320 323
         $action = $this->getScenarioAction($defaultScenario);
@@ -322,6 +325,9 @@  discard block
 block discarded – undo
322 325
         return static::perform($action, $data, $options);
323 326
     }
324 327
 
328
+    /**
329
+     * @param string $action
330
+     */
325 331
     public static function perform($action, $data, array $options = [])
326 332
     {
327 333
         return static::getDb()->createCommand()->perform($action, static::from(), $data, $options);
Please login to merge, or discard this patch.