Completed
Pull Request — default-schema (#32)
by
unknown
05:07 queued 03:11
created
src/Crate/PDO/PDO.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
      * {@inheritDoc}
74 74
      *
75 75
      * @param string     $dsn      The HTTP endpoint to call
76
-     * @param null       $username Unused
77
-     * @param null       $passwd   Unused
76
+     * @param null|string       $username Unused
77
+     * @param null|string       $passwd   Unused
78 78
      * @param null|array $options  Attributes to set on the PDO
79 79
      */
80 80
     public function __construct($dsn, $username, $passwd, $options)
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      *
129 129
      * @param string $dsn The DSN string
130 130
      *
131
-     * @return array An array of host:port strings
131
+     * @return string[] An array of host:port strings
132 132
      */
133 133
     private static function parseDSN($dsn)
134 134
     {
@@ -202,6 +202,7 @@  discard block
 block discarded – undo
202 202
 
203 203
     /**
204 204
      * {@inheritDoc}
205
+     * @param string $statement
205 206
      */
206 207
     public function exec($statement)
207 208
     {
@@ -213,6 +214,7 @@  discard block
 block discarded – undo
213 214
 
214 215
     /**
215 216
      * {@inheritDoc}
217
+     * @param string $statement
216 218
      */
217 219
     public function query($statement)
218 220
     {
@@ -331,6 +333,7 @@  discard block
 block discarded – undo
331 333
 
332 334
     /**
333 335
      * {@inheritDoc}
336
+     * @param string $string
334 337
      */
335 338
     public function quote($string, $parameter_type = PDO::PARAM_STR)
336 339
     {
Please login to merge, or discard this patch.
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.