Completed
Pull Request — 2.x (#129)
by D
02:34
created
src/ExtendedPdo.php 1 patch
Doc Comments   +5 added lines, -11 removed lines patch added patch discarded remove patch
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
      *
590 590
      * @param array $values Values to bind to the query.
591 591
      *
592
-     * @return mixed
592
+     * @return string
593 593
      *
594 594
      */
595 595
     public function fetchValue($statement, array $values = array())
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
      * Returns the DSN for a lazy connection; if the underlying PDO instance
643 643
      * was injected at construction time, this will be null.
644 644
      *
645
-     * @return string|null
645
+     * @return string
646 646
      *
647 647
      */
648 648
     public function getDsn()
@@ -712,7 +712,7 @@  discard block
 block discarded – undo
712 712
      * @param string $name The name of the sequence to check; typically needed
713 713
      * only for PostgreSQL, where it takes the form of `<table>_<column>_seq`.
714 714
      *
715
-     * @return int
715
+     * @return string
716 716
      *
717 717
      * @see http://php.net/manual/en/pdo.lastinsertid.php
718 718
      *
@@ -779,14 +779,8 @@  discard block
 block discarded – undo
779 779
      *
780 780
      * @param string $statement The SQL statement to prepare and execute.
781 781
      *
782
-     * @param int $fetch_mode The `PDO::FETCH_*` type to set on the returned
783
-     * `PDOStatement::setFetchMode()`.
784 782
      *
785
-     * @param mixed $fetch_arg1 The first additional argument to send to
786
-     * `PDOStatement::setFetchMode()`.
787 783
      *
788
-     * @param mixed $fetch_arg2 The second additional argument to send to
789
-     * `PDOStatement::setFetchMode()`.
790 784
      *
791 785
      * @return PDOStatement
792 786
      *
@@ -821,7 +815,7 @@  discard block
 block discarded – undo
821 815
      *
822 816
      * @param int $parameter_type A data type hint for the database driver.
823 817
      *
824
-     * @return mixed The quoted value.
818
+     * @return string The quoted value.
825 819
      *
826 820
      * @see http://php.net/manual/en/pdo.quote.php
827 821
      *
@@ -1002,7 +996,7 @@  discard block
 block discarded – undo
1002 996
      *
1003 997
      * @param mixed $val The value to bind to the statement.
1004 998
      *
1005
-     * @return null
999
+     * @return boolean|null
1006 1000
      *
1007 1001
      * @throws Exception\CannotBindValue when the value to be bound is not
1008 1002
      * bindable (e.g., array, object, or resource).
Please login to merge, or discard this patch.
src/PdoInterface.php 1 patch
Doc Comments   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -130,14 +130,8 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @param string $statement The SQL statement to prepare and execute.
132 132
      *
133
-     * @param int $fetch_mode The `PDO::FETCH_*` type to set on the returned
134
-     * `PDOStatement::setFetchMode()`.
135 133
      *
136
-     * @param mixed $fetch_arg1 The first additional argument to send to
137
-     * `PDOStatement::setFetchMode()`.
138 134
      *
139
-     * @param mixed $fetch_arg2 The second additional argument to send to
140
-     * `PDOStatement::setFetchMode()`.
141 135
      *
142 136
      * @return \PDOStatement
143 137
      *
@@ -154,7 +148,7 @@  discard block
 block discarded – undo
154 148
      *
155 149
      * @param int $parameter_type A data type hint for the database driver.
156 150
      *
157
-     * @return mixed The quoted value.
151
+     * @return string The quoted value.
158 152
      *
159 153
      * @see http://php.net/manual/en/pdo.quote.php
160 154
      *
Please login to merge, or discard this patch.