Passed
Push — develop ( d2d625...405251 )
by nguereza
03:36
created
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
     /**
62 61
      * The Connection instance
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
      * Class constructor
75 74
      * @param Connection $connection
76 75
      */
77
-    public function __construct(Connection $connection)
78
-    {
76
+    public function __construct(Connection $connection) {
79 77
         $this->connection = $connection;
80 78
         $this->schema = $this->connection->getSchema();
81 79
     }
@@ -114,8 +112,7 @@  discard block
 block discarded – undo
114 112
      * @param callable $callback
115 113
      * @return mixed
116 114
      */
117
-    public function transaction(callable $callback)
118
-    {
115
+    public function transaction(callable $callback) {
119 116
         return $this->connection->transaction($callback, $this);
120 117
     }
121 118
 
Please login to merge, or discard this patch.
src/Exception/QueryException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
  * Class QueryException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class QueryException extends RuntimeException
42
-{
41
+class QueryException extends RuntimeException {
43 42
 
44 43
 }
Please login to merge, or discard this patch.
src/Exception/QueryPrepareException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
  * Class QueryPrepareException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class QueryPrepareException extends RuntimeException
42
-{
41
+class QueryPrepareException extends RuntimeException {
43 42
 
44 43
 }
Please login to merge, or discard this patch.
src/Exception/TransactionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
  * Class TransactionException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class TransactionException extends RuntimeException
42
-{
41
+class TransactionException extends RuntimeException {
43 42
 
44 43
 }
Please login to merge, or discard this patch.