Completed
Push — master ( 2838d5...2d2314 )
by Tim
02:52
created
Classes/Service/IndexerService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 // overlays can connect with l10n_paretn to the right default record.
55 55
                 $q->select('uid')
56 56
                     ->from($tableName)
57
-                    ->orderBy((string) $transPointer);
57
+                    ->orderBy((string)$transPointer);
58 58
             } else {
59 59
                 $q->select('uid')
60 60
                     ->from($tableName);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         // Note: "uid" could be e.g. NEW6273482 in DataHandler process
102 102
         if (MathUtility::canBeInterpretedAsInteger($uid)) {
103
-            return (int) $this->getCurrentItems($tableName, $uid)->rowCount();
103
+            return (int)$this->getCurrentItems($tableName, $uid)->rowCount();
104 104
         }
105 105
         return 0;
106 106
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                 $q->expr()->andX(
131 131
                     $q->expr()->gte('start_date', $now->getTimestamp()),
132 132
                     $q->expr()->eq('foreign_table', $q->createNamedParameter($table)),
133
-                    $q->expr()->eq('foreign_uid', $q->createNamedParameter((int) $uid, \PDO::PARAM_INT))
133
+                    $q->expr()->eq('foreign_uid', $q->createNamedParameter((int)$uid, \PDO::PARAM_INT))
134 134
                 )
135 135
             )
136 136
             ->addOrderBy('start_date', 'ASC')
@@ -272,9 +272,9 @@  discard block
 block discarded – undo
272 272
                     $q->expr()->notIn('unique_register_key', $validKeys)
273 273
                 )->execute();
274 274
 
275
-            return (bool) $q->execute();
275
+            return (bool)$q->execute();
276 276
         }
277 277
 
278
-        return (bool) $db->truncate(self::TABLE_NAME);
278
+        return (bool)$db->truncate(self::TABLE_NAME);
279 279
     }
280 280
 }
Please login to merge, or discard this patch.