Completed
Push — master ( 1a8156...45cb91 )
by smiley
02:40
created
src/Drivers/MySQLi/MySQLiDriver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
 			$out = [];
188 188
 			$method = 'fetch_'.($assoc ? ($fetch_array ? 'assoc' : 'object') : 'row');
189
-			$i = 0 ;
189
+			$i = 0;
190 190
 
191 191
 			// ok, we have a result with one or more rows, loop out the rows and output as array
192 192
 			while($row = $result->{$method}()){
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
 	 *
353 353
 	 * @return void
354 354
 	 */
355
-	protected function insertPreparedRow(mysqli_stmt &$stmt, ReflectionMethod &$reflectionMethod, array &$row){
355
+	protected function insertPreparedRow(mysqli_stmt&$stmt, ReflectionMethod&$reflectionMethod, array &$row){
356 356
 		$references = $this->getReferences($row);
357 357
 		array_unshift($references, $this->getTypes($references));
358 358
 		$reflectionMethod->invokeArgs($stmt, $references);
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
 	 *
371 371
 	 * @return array|bool
372 372
 	 */
373
-	protected function getResult(mysqli_stmt &$stmt, mysqli_result &$result, string $index = null, bool $assoc, bool $fetch_array){
373
+	protected function getResult(mysqli_stmt&$stmt, mysqli_result&$result, string $index = null, bool $assoc, bool $fetch_array){
374 374
 		// get the columns and their references
375 375
 		// http://php.net/manual/mysqli-stmt.bind-result.php
376 376
 		$cols = $refs = [];
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
 		foreach($values as &$v){
427 427
 			switch(gettype($v)){
428 428
 				case 'integer': $types[] = 'i'; break;
429
-				case 'double': $types[] ='d'; break;
429
+				case 'double': $types[] = 'd'; break;
430 430
 				default: $types[] = 's'; break;
431 431
 			}
432 432
 		}
Please login to merge, or discard this patch.