Passed
Push — develop ( cd2c29...4f7ba8 )
by nguereza
02:28
created
src/Driver/Driver.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
63 63
  *
64 64
  * @package Platine\Database\Driver
65 65
  */
66
-class Driver
67
-{
66
+class Driver {
68 67
     /**
69 68
      * The driver default date format
70 69
      * @var string
@@ -130,8 +129,7 @@  discard block
 block discarded – undo
130 129
      * Class constructor
131 130
      * @param Connection $connection
132 131
      */
133
-    public function __construct(Connection $connection)
134
-    {
132
+    public function __construct(Connection $connection) {
135 133
         $this->connection = $connection;
136 134
     }
137 135
 
@@ -470,8 +468,7 @@  discard block
 block discarded – undo
470 468
      * @return mixed
471 469
      *
472 470
      */
473
-    protected function value($value)
474
-    {
471
+    protected function value($value) {
475 472
         if (is_numeric($value)) {
476 473
             return $value;
477 474
         }
Please login to merge, or discard this patch.
src/Driver/MySQL.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * Class MySQL
53 53
  * @package Platine\Database\Driver
54 54
  */
55
-class MySQL extends Driver
56
-{
55
+class MySQL extends Driver {
57 56
     /**
58 57
      * @inheritdoc
59 58
      * @var string
Please login to merge, or discard this patch.
src/Driver/SQLServer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * Class SQLServer
56 56
  * @package Platine\Database\Driver
57 57
  */
58
-class SQLServer extends Driver
59
-{
58
+class SQLServer extends Driver {
60 59
     /**
61 60
      * @inheritdoc
62 61
      * @var string
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * Class QueryBuilder
56 56
  * @package Platine\Database
57 57
  */
58
-class QueryBuilder
59
-{
58
+class QueryBuilder {
60 59
     /**
61 60
      * The Connection instance
62 61
      * @var Connection
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * Class constructor
74 73
      * @param Connection $connection
75 74
      */
76
-    public function __construct(Connection $connection)
77
-    {
75
+    public function __construct(Connection $connection) {
78 76
         $this->connection = $connection;
79 77
         $this->schema = $this->connection->getSchema();
80 78
     }
@@ -113,8 +111,7 @@  discard block
 block discarded – undo
113 111
      * @param callable $callback
114 112
      * @return mixed
115 113
      */
116
-    public function transaction(callable $callback)
117
-    {
114
+    public function transaction(callable $callback) {
118 115
         return $this->connection->transaction($callback, $this);
119 116
     }
120 117
 
Please login to merge, or discard this patch.
src/ConnectionStatement.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * Class ConnectionStatement
53 53
  * @package Platine\Database
54 54
  */
55
-class ConnectionStatement extends PDOStatement
56
-{
55
+class ConnectionStatement extends PDOStatement {
57 56
     /**
58 57
      * {@inheritdoc}
59 58
      */
Please login to merge, or discard this patch.