Passed
Pull Request — main (#5278)
by
unknown
07:40
created
app/DB.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         return self::pdo()->getAttribute(PDO::ATTR_DRIVER_NAME);
143 143
     }
144 144
 
145
-    public static function exec(string $sql): int|false
145
+    public static function exec(string $sql): int | false
146 146
     {
147 147
         return self::pdo()->exec($sql);
148 148
     }
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
     /**
240 240
      * @return Expression<string>
241 241
      */
242
-    public static function binaryColumn(string $column, string|null $alias = null): Expression
242
+    public static function binaryColumn(string $column, string | null $alias = null): Expression
243 243
     {
244 244
         if (self::driverName() === self::MYSQL) {
245 245
             $sql = 'CAST(' . $column . ' AS binary)';
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
         return new Expression($sql);
255 255
     }
256 256
 
257
-    public static function columnToUpper(string $column): string|Expression
257
+    public static function columnToUpper(string $column): string | Expression
258 258
     {
259 259
         switch (self::driverName()) {
260 260
             case self::POSTGRES:
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         }
266 266
     }
267 267
 
268
-    public static function columnToLower(string $column): string|Expression
268
+    public static function columnToLower(string $column): string | Expression
269 269
     {
270 270
         switch (self::driverName()) {
271 271
             case self::POSTGRES:
Please login to merge, or discard this patch.