Passed
Pull Request — master (#546)
by Maurício
03:22
created
src/Statements/DropStatement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,10 +71,10 @@
 block discarded – undo
71 71
      *
72 72
      * @var Expression[]|null
73 73
      */
74
-    public array|null $fields = null;
74
+    public array | null $fields = null;
75 75
 
76 76
     /**
77 77
      * Table of the dropped index.
78 78
      */
79
-    public Expression|null $table = null;
79
+    public Expression | null $table = null;
80 80
 }
Please login to merge, or discard this patch.
src/Statements/CallStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * The name of the function and its parameters.
25 25
      */
26
-    public FunctionCall|null $call = null;
26
+    public FunctionCall | null $call = null;
27 27
 
28 28
     /**
29 29
      * Build statement for CALL.
Please login to merge, or discard this patch.
src/Statements/SetStatement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,21 +78,21 @@
 block discarded – undo
78 78
     /**
79 79
      * Options used in current statement.
80 80
      */
81
-    public OptionsArray|null $options = null;
81
+    public OptionsArray | null $options = null;
82 82
 
83 83
     /**
84 84
      * The end options of this query.
85 85
      *
86 86
      * @see SetStatement::STATEMENT_END_OPTIONS
87 87
      */
88
-    public OptionsArray|null $endOptions = null;
88
+    public OptionsArray | null $endOptions = null;
89 89
 
90 90
     /**
91 91
      * The updated values.
92 92
      *
93 93
      * @var SetOperation[]|null
94 94
      */
95
-    public array|null $set = null;
95
+    public array | null $set = null;
96 96
 
97 97
     public function build(): string
98 98
     {
Please login to merge, or discard this patch.
src/Statements/TransactionStatement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@
 block discarded – undo
26 26
     /**
27 27
      * The type of this query.
28 28
      */
29
-    public int|null $type = null;
29
+    public int | null $type = null;
30 30
 
31 31
     /**
32 32
      * The list of statements in this transaction.
33 33
      *
34 34
      * @var Statement[]|null
35 35
      */
36
-    public array|null $statements = null;
36
+    public array | null $statements = null;
37 37
 
38 38
     /**
39 39
      * The ending transaction statement which may be a `COMMIT` or a `ROLLBACK`.
40 40
      */
41
-    public TransactionStatement|null $end = null;
41
+    public TransactionStatement | null $end = null;
42 42
 
43 43
     /**
44 44
      * Options for this query.
Please login to merge, or discard this patch.
src/Statements/RenameStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var RenameOperation[]|null
26 26
      */
27
-    public array|null $renames = null;
27
+    public array | null $renames = null;
28 28
 
29 29
     /**
30 30
      * Function called before the token is processed.
Please login to merge, or discard this patch.
src/Statements/MaintenanceStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var Expression[]|null
26 26
      */
27
-    public array|null $tables = null;
27
+    public array | null $tables = null;
28 28
 
29 29
     /**
30 30
      * Function called after the token was processed.
Please login to merge, or discard this patch.
src/Statements/DeleteStatement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -106,52 +106,52 @@
 block discarded – undo
106 106
      *
107 107
      * @var Expression[]|null
108 108
      */
109
-    public array|null $from = null;
109
+    public array | null $from = null;
110 110
 
111 111
     /**
112 112
      * Joins.
113 113
      *
114 114
      * @var JoinKeyword[]|null
115 115
      */
116
-    public array|null $join = null;
116
+    public array | null $join = null;
117 117
 
118 118
     /**
119 119
      * Tables used as sources for this statement.
120 120
      *
121 121
      * @var Expression[]|null
122 122
      */
123
-    public array|null $using = null;
123
+    public array | null $using = null;
124 124
 
125 125
     /**
126 126
      * Columns used in this statement.
127 127
      *
128 128
      * @var Expression[]|null
129 129
      */
130
-    public array|null $columns = null;
130
+    public array | null $columns = null;
131 131
 
132 132
     /**
133 133
      * Partitions used as source for this statement.
134 134
      */
135
-    public ArrayObj|null $partition = null;
135
+    public ArrayObj | null $partition = null;
136 136
 
137 137
     /**
138 138
      * Conditions used for filtering each row of the result set.
139 139
      *
140 140
      * @var Condition[]|null
141 141
      */
142
-    public array|null $where = null;
142
+    public array | null $where = null;
143 143
 
144 144
     /**
145 145
      * Specifies the order of the rows in the result set.
146 146
      *
147 147
      * @var OrderKeyword[]|null
148 148
      */
149
-    public array|null $order = null;
149
+    public array | null $order = null;
150 150
 
151 151
     /**
152 152
      * Conditions used for limiting the size of the result set.
153 153
      */
154
-    public Limit|null $limit = null;
154
+    public Limit | null $limit = null;
155 155
 
156 156
     public function build(): string
157 157
     {
Please login to merge, or discard this patch.
src/Statements/LoadStatement.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -88,70 +88,70 @@
 block discarded – undo
88 88
     /**
89 89
      * File name being used to load data.
90 90
      */
91
-    public Expression|null $fileName = null;
91
+    public Expression | null $fileName = null;
92 92
 
93 93
     /**
94 94
      * Table used as destination for this statement.
95 95
      */
96
-    public Expression|null $table = null;
96
+    public Expression | null $table = null;
97 97
 
98 98
     /**
99 99
      * Partitions used as source for this statement.
100 100
      */
101
-    public ArrayObj|null $partition = null;
101
+    public ArrayObj | null $partition = null;
102 102
 
103 103
     /**
104 104
      * Character set used in this statement.
105 105
      */
106
-    public Expression|null $charsetName = null;
106
+    public Expression | null $charsetName = null;
107 107
 
108 108
     /**
109 109
      * Options for FIELDS/COLUMNS keyword.
110 110
      *
111 111
      * @see LoadStatement::STATEMENT_FIELDS_OPTIONS
112 112
      */
113
-    public OptionsArray|null $fieldsOptions = null;
113
+    public OptionsArray | null $fieldsOptions = null;
114 114
 
115 115
     /**
116 116
      * Whether to use `FIELDS` or `COLUMNS` while building.
117 117
      */
118
-    public string|null $fieldsKeyword = null;
118
+    public string | null $fieldsKeyword = null;
119 119
 
120 120
     /**
121 121
      * Options for OPTIONS keyword.
122 122
      *
123 123
      * @see LoadStatement::STATEMENT_LINES_OPTIONS
124 124
      */
125
-    public OptionsArray|null $linesOptions = null;
125
+    public OptionsArray | null $linesOptions = null;
126 126
 
127 127
     /**
128 128
      * Column names or user variables.
129 129
      *
130 130
      * @var Expression[]|null
131 131
      */
132
-    public array|null $columnNamesOrUserVariables = null;
132
+    public array | null $columnNamesOrUserVariables = null;
133 133
 
134 134
     /**
135 135
      * SET clause's updated values(optional).
136 136
      *
137 137
      * @var SetOperation[]|null
138 138
      */
139
-    public array|null $set = null;
139
+    public array | null $set = null;
140 140
 
141 141
     /**
142 142
      * Ignore 'number' LINES/ROWS.
143 143
      */
144
-    public Expression|null $ignoreNumber = null;
144
+    public Expression | null $ignoreNumber = null;
145 145
 
146 146
     /**
147 147
      * REPLACE/IGNORE Keyword.
148 148
      */
149
-    public string|null $replaceIgnore = null;
149
+    public string | null $replaceIgnore = null;
150 150
 
151 151
     /**
152 152
      * LINES/ROWS Keyword.
153 153
      */
154
-    public string|null $linesRows = null;
154
+    public string | null $linesRows = null;
155 155
 
156 156
     public function build(): string
157 157
     {
Please login to merge, or discard this patch.
src/Statements/AlterStatement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,14 +23,14 @@
 block discarded – undo
23 23
     /**
24 24
      * Table affected.
25 25
      */
26
-    public Expression|null $table = null;
26
+    public Expression | null $table = null;
27 27
 
28 28
     /**
29 29
      * Column affected by this statement.
30 30
      *
31 31
      * @var AlterOperation[]|null
32 32
      */
33
-    public array|null $altered = [];
33
+    public array | null $altered = [];
34 34
 
35 35
     /**
36 36
      * Options of this statement.
Please login to merge, or discard this patch.