Passed
Pull Request — main (#5278)
by
unknown
07:02
created
app/DB.php 1 patch
Spacing   +3 added lines, -3 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)';
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * @return Expression<string>
259 259
      */
260
-    public static function columnToUpper(string $column): string|Expression
260
+    public static function columnToUpper(string $column): string | Expression
261 261
     {
262 262
         switch (self::driverName()) {
263 263
             case self::POSTGRES:
Please login to merge, or discard this patch.