Completed
Branch master (260b19)
by smiley
02:54
created
src/Drivers/SQLite/SQLite3Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 * @param string $sql    The SQL statement to prepare
169 169
 	 * @param array  $values a multidimensional array with the values, each row represents one line to insert.
170 170
 	 *
171
-	 * @return bool true query success, otherwise false
171
+	 * @return boolean|null true query success, otherwise false
172 172
 	 */
173 173
 	public function multi($sql, array $values){
174 174
 		// TODO: Implement multi() method.
Please login to merge, or discard this patch.
src/Drivers/DBDriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@
 block discarded – undo
86 86
 	 *
87 87
 	 * @param array $stats
88 88
 	 * @internal
89
+	 * @return void
89 90
 	 */
90 91
 	public function addStats(array $stats);
91 92
 
Please login to merge, or discard this patch.
src/Drivers/PostgreSQL/PostgreSQLDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 * @param string $sql    The SQL statement to prepare
169 169
 	 * @param array  $values a multidimensional array with the values, each row represents one line to insert.
170 170
 	 *
171
-	 * @return bool true query success, otherwise false
171
+	 * @return boolean|null true query success, otherwise false
172 172
 	 */
173 173
 	public function multi($sql, array $values){
174 174
 		// TODO: Implement multi() method.
Please login to merge, or discard this patch.
src/Traits/ClassLoaderTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	 * @param string $class     FQCN
27 27
 	 * @param string $interface FQCN
28 28
 	 *
29
-	 * @param mixed  $params    [optional] the following arguments are optional and will be passed to the class constructor if present.
29
+	 * @param \chillerlan\Database\DBOptions  $params    [optional] the following arguments are optional and will be passed to the class constructor if present.
30 30
 	 *
31 31
 	 * @return object of type $interface
32 32
 	 * @throws \chillerlan\Database\DBException
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,13 @@
 block discarded – undo
31 31
 	 * @return object of type $interface
32 32
 	 * @throws \chillerlan\Database\DBException
33 33
 	 */
34
-	protected function __loadClass($class, $interface, ...$params){ // phpDocumentor stumbles across the ... syntax
34
+	protected function __loadClass($class, $interface, ...$params){
35
+// phpDocumentor stumbles across the ... syntax
35 36
 
36 37
 		if(class_exists($class)){
37 38
 			$reflectionClass = new ReflectionClass($class);
38 39
 
39
-			if(!$reflectionClass->implementsInterface($interface)) {
40
+			if(!$reflectionClass->implementsInterface($interface)){
40 41
 				throw new DBException($class.' does not implement '.$interface);
41 42
 			}
42 43
 
Please login to merge, or discard this patch.