Completed
Push — master ( f81184...3aae6e )
by Andrii
04:04
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   +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.