Passed
Push — develop ( 0e9461...96177d )
by nguereza
02:00
created
src/Connection.php 1 patch
Braces   +5 added lines, -9 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * Class Connection
62 62
  * @package Platine\Database
63 63
  */
64
-class Connection
65
-{
64
+class Connection {
66 65
     /**
67 66
      * The PDO instance
68 67
      * @var PDO
@@ -368,8 +367,7 @@  discard block
 block discarded – undo
368 367
      * @return mixed
369 368
      * @throws QueryException
370 369
      */
371
-    public function column(string $sql, array $params = [])
372
-    {
370
+    public function column(string $sql, array $params = []) {
373 371
         $prepared = $this->prepare($sql, $params);
374 372
         $this->execute($prepared);
375 373
 
@@ -421,8 +419,7 @@  discard block
 block discarded – undo
421 419
     /**
422 420
      * {@inheritdoc}
423 421
      */
424
-    public function __sleep()
425
-    {
422
+    public function __sleep() {
426 423
         return [
427 424
             'dsn',
428 425
             'driver',
@@ -436,8 +433,7 @@  discard block
 block discarded – undo
436 433
     /**
437 434
      * {@inheritdoc}
438 435
      */
439
-    public function __wakeup()
440
-    {
436
+    public function __wakeup() {
441 437
         $this->createPDO();
442 438
     }
443 439
 
@@ -602,7 +598,7 @@  discard block
 block discarded – undo
602 598
      */
603 599
     protected function execute(array $prepared): bool
604 600
     {
605
-        if($this->emulate){
601
+        if($this->emulate) {
606 602
             return true;
607 603
         }
608 604
         
Please login to merge, or discard this patch.