Passed
Push — develop ( b6287c...cd2c29 )
by nguereza
02:21 queued 24s
created
src/Connection.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -376,7 +376,7 @@
 block discarded – undo
376 376
 
377 377
         return (string) preg_replace_callback(
378 378
             '/\?/',
379
-            function () use ($driver, &$params) {
379
+            function() use ($driver, &$params) {
380 380
                 $param = array_shift($params);
381 381
 
382 382
                 $value = is_object($param) ? get_class($param) : $param;
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 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
@@ -346,8 +345,7 @@  discard block
 block discarded – undo
346 345
      * @return mixed
347 346
      * @throws QueryException
348 347
      */
349
-    public function column(string $sql, array $params = [])
350
-    {
348
+    public function column(string $sql, array $params = []) {
351 349
         $prepared = $this->prepare($sql, $params);
352 350
         $this->execute($prepared);
353 351
 
@@ -400,8 +398,7 @@  discard block
 block discarded – undo
400 398
     /**
401 399
      * {@inheritdoc}
402 400
      */
403
-    public function __sleep()
404
-    {
401
+    public function __sleep() {
405 402
         return [
406 403
             'dsn',
407 404
             'driver',
@@ -415,8 +412,7 @@  discard block
 block discarded – undo
415 412
     /**
416 413
      * {@inheritdoc}
417 414
      */
418
-    public function __wakeup()
419
-    {
415
+    public function __wakeup() {
420 416
         $this->createPDO();
421 417
     }
422 418
 
Please login to merge, or discard this patch.