| @@ -8,7 +8,7 @@ discard block | ||
| 8 | 8 | protected $pdoStatement; | 
| 9 | 9 | protected $wasExecuted = false; | 
| 10 | 10 | protected $autoExecute = true; | 
| 11 | - protected $paramsMap = []; // ['param_name' => 'type'] | |
| 11 | + protected $paramsMap = []; // ['param_name' => 'type'] | |
| 12 | 12 | |
| 13 | 13 | /** | 
| 14 | 14 | * Statement constructor that wraps a PDOStatement object. | 
| @@ -53,7 +53,7 @@ discard block | ||
| 53 | 53 |          foreach ($params as $name => $type) { | 
| 54 | 54 | // The parameters with named placeholders must start with character ':' | 
| 55 | 55 |              if (is_string($name) && strpos($name, ':') !== 0) { | 
| 56 | - $name = ':' . $name; | |
| 56 | + $name = ':'.$name; | |
| 57 | 57 | } | 
| 58 | 58 | |
| 59 | 59 | // The parameters with positional ? placeholders must start with number 1 | 
| @@ -98,7 +98,7 @@ discard block | ||
| 98 | 98 |          foreach ($values as $name => $value) { | 
| 99 | 99 | // The parameters with named placeholders must start with character ':' | 
| 100 | 100 |              if (is_string($name) && strpos($name, ':') !== 0) { | 
| 101 | - $name = ':' . $name; | |
| 101 | + $name = ':'.$name; | |
| 102 | 102 | } | 
| 103 | 103 | |
| 104 | 104 | // The parameters with positional ? placeholders must start with number 1 | 
| @@ -492,7 +492,7 @@ discard block | ||
| 492 | 492 | } | 
| 493 | 493 | |
| 494 | 494 |                  if ($columnErr) { | 
| 495 | -                    throw new \InvalidArgumentException('Some columns to group-by (' . | |
| 495 | +                    throw new \InvalidArgumentException('Some columns to group-by ('. | |
| 496 | 496 |                          implode(', ', $columnErr) | 
| 497 | 497 | . ') are not present in the result set.'); | 
| 498 | 498 | } | 
| @@ -579,7 +579,7 @@ discard block | ||
| 579 | 579 | |
| 580 | 580 | $result = []; | 
| 581 | 581 | $groupByCount = 0; | 
| 582 | - $row = $this->pdoStatement->fetchObject($className, (array)$classArgs); | |
| 582 | + $row = $this->pdoStatement->fetchObject($className, (array) $classArgs); | |
| 583 | 583 | |
| 584 | 584 | // More validations | 
| 585 | 585 | |
| @@ -613,7 +613,7 @@ discard block | ||
| 613 | 613 | } | 
| 614 | 614 | |
| 615 | 615 |                  if ($columnErr) { | 
| 616 | -                    throw new \InvalidArgumentException('Some columns to group-by (' . | |
| 616 | +                    throw new \InvalidArgumentException('Some columns to group-by ('. | |
| 617 | 617 |                          implode(', ', $columnErr) | 
| 618 | 618 | . ') are not present in the result set.'); | 
| 619 | 619 | } | 
| @@ -653,7 +653,7 @@ discard block | ||
| 653 | 653 | } | 
| 654 | 654 | } | 
| 655 | 655 | |
| 656 | - $row = $this->pdoStatement->fetchObject($className, (array)$classArgs); | |
| 656 | + $row = $this->pdoStatement->fetchObject($className, (array) $classArgs); | |
| 657 | 657 | } | 
| 658 | 658 | |
| 659 | 659 | // Clear state and return result |