Passed
Push — develop ( 963f5e...46a4a0 )
by nguereza
02:17
created
src/Query/SubQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
  * @class SubQuery
51 51
  * @package Platine\Database\Query
52 52
  */
53
-class SubQuery
54
-{
53
+class SubQuery {
55 54
     /**
56 55
      * The SelectStatement instance
57 56
      * @var SelectStatement
Please login to merge, or discard this patch.
src/Query/BaseStatement.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 BaseStatement
53 53
  * @package Platine\Database\Query
54 54
  */
55
-class BaseStatement extends WhereStatement
56
-{
55
+class BaseStatement extends WhereStatement {
57 56
     /**
58 57
      * @param string|string[] $table
59 58
      * @param Closure $closure
Please login to merge, or discard this patch.
src/Query/Insert.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 Insert
53 53
  * @package Platine\Database\Query
54 54
  */
55
-class Insert extends InsertStatement
56
-{
55
+class Insert extends InsertStatement {
57 56
     /**
58 57
      * @var Connection
59 58
      */
Please login to merge, or discard this patch.
src/Query/SelectStatement.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@  discard block
 block discarded – undo
52 52
  * @class SelectStatement
53 53
  * @package Platine\Database\Query
54 54
  */
55
-class SelectStatement extends BaseStatement
56
-{
55
+class SelectStatement extends BaseStatement {
57 56
     /**
58 57
      * @var HavingStatement
59 58
      */
@@ -64,8 +63,7 @@  discard block
 block discarded – undo
64 63
      * @param string|array<int, string> $tables
65 64
      * @param QueryStatement|null $queryStatement
66 65
      */
67
-    public function __construct(string|array $tables, ?QueryStatement $queryStatement = null)
68
-    {
66
+    public function __construct(string|array $tables, ?QueryStatement $queryStatement = null) {
69 67
         parent::__construct($queryStatement);
70 68
 
71 69
         if (!is_array($tables)) {
Please login to merge, or discard this patch.
src/Query/QueryStatement.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  *
54 54
  * @package Platine\Database\Query
55 55
  */
56
-class QueryStatement
57
-{
56
+class QueryStatement {
58 57
     /**
59 58
      * The where SQL parts
60 59
      * @var array<int, mixed>
Please login to merge, or discard this patch.
src/Query/Query.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class Query
55 55
  * @package Platine\Database\Query
56 56
  */
57
-class Query extends BaseStatement
58
-{
57
+class Query extends BaseStatement {
59 58
     /**
60 59
      * @var Connection
61 60
      */
@@ -246,8 +245,7 @@  discard block
 block discarded – undo
246 245
      *
247 246
      * @return mixed
248 247
      */
249
-    public function max(string|Expression|Closure $column, bool $distinct = false)
250
-    {
248
+    public function max(string|Expression|Closure $column, bool $distinct = false) {
251 249
         return $this->buildSelect()->max($column, $distinct);
252 250
     }
253 251
 
Please login to merge, or discard this patch.
src/Query/Where.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 Where
53 53
  * @package Platine\Database\Query
54 54
  */
55
-class Where
56
-{
55
+class Where {
57 56
     /**
58 57
      * @var string|Expression
59 58
      */
Please login to merge, or discard this patch.
src/Query/Select.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class Select
55 55
  * @package Platine\Database\Query
56 56
  */
57
-class Select extends SelectStatement
58
-{
57
+class Select extends SelectStatement {
59 58
     /**
60 59
      * @var Connection
61 60
      */
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @class Configuration
60 60
  * @package Platine\Database
61 61
  */
62
-class Configuration extends AbstractConfiguration
63
-{
62
+class Configuration extends AbstractConfiguration {
64 63
     /**
65 64
      * The connection driver to use
66 65
      * @var string
Please login to merge, or discard this patch.