Completed
Push — m/fix-unordered-bind-value ( d78144...fa7ed7 )
by
unknown
15:00 queued 12:22
created
src/Crate/PDO/PDOStatement.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@  discard block
 block discarded – undo
101 101
         $this->request = $request;
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $sql
106
+     */
104 107
     private function replaceNamedParametersWithPositionals($sql)
105 108
     {
106 109
         if (strpos($sql, ':') === false) {
@@ -193,6 +196,7 @@  discard block
 block discarded – undo
193 196
 
194 197
     /**
195 198
      * {@inheritDoc}
199
+     * @param string[] $input_parameters
196 200
      */
197 201
     public function execute($input_parameters = null)
198 202
     {
@@ -294,6 +298,9 @@  discard block
 block discarded – undo
294 298
 
295 299
     /**
296 300
      * {@inheritDoc}
301
+     * @param string $column
302
+     * @param null|string $param
303
+     * @param integer $maxlen
297 304
      */
298 305
     public function bindColumn($column, &$param, $type = null, $maxlen = null, $driverdata = null)
299 306
     {
@@ -553,6 +560,7 @@  discard block
 block discarded – undo
553 560
 
554 561
     /**
555 562
      * {@inheritDoc}
563
+     * @return boolean
556 564
      */
557 565
     public function nextRowset()
558 566
     {
Please login to merge, or discard this patch.
src/Crate/PDO/PDO.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@  discard block
 block discarded – undo
80 80
      * {@inheritDoc}
81 81
      *
82 82
      * @param string     $dsn      The HTTP endpoint to call
83
-     * @param null       $username Unused
84
-     * @param null       $passwd   Unused
83
+     * @param null|string       $username Unused
84
+     * @param null|string       $passwd   Unused
85 85
      * @param null|array $options  Attributes to set on the PDO
86 86
      */
87 87
     public function __construct($dsn, $username, $passwd, $options)
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      *
140 140
      * @param string $dsn The DSN string
141 141
      *
142
-     * @return array An array of ['host:post,host:port,...', 'schema']
142
+     * @return string[] An array of ['host:post,host:port,...', 'schema']
143 143
      */
144 144
     private static function parseDSN($dsn)
145 145
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * Extract host:port pairs out of the DSN parts
157 157
      *
158
-     * @param array $dsnParts The parts of the parsed DSN string
158
+     * @param string[] $dsnParts The parts of the parsed DSN string
159 159
      *
160 160
      * @return array An array of host:port strings
161 161
      */
@@ -213,6 +213,7 @@  discard block
 block discarded – undo
213 213
 
214 214
     /**
215 215
      * {@inheritDoc}
216
+     * @param string $statement
216 217
      */
217 218
     public function exec($statement)
218 219
     {
@@ -224,6 +225,7 @@  discard block
 block discarded – undo
224 225
 
225 226
     /**
226 227
      * {@inheritDoc}
228
+     * @param string $statement
227 229
      */
228 230
     public function query($statement)
229 231
     {
@@ -352,6 +354,7 @@  discard block
 block discarded – undo
352 354
 
353 355
     /**
354 356
      * {@inheritDoc}
357
+     * @param string $string
355 358
      */
356 359
     public function quote($string, $parameter_type = PDO::PARAM_STR)
357 360
     {
Please login to merge, or discard this patch.