Completed
Push — master ( c113ba...34f9ca )
by Tim
02:15
created
Classes/Slots/EventSearch.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
      * @signalName findBySearchPre
38 38
      *
39 39
      * @param array          $indexIds
40
-     * @param \DateTime|null $startDate
41
-     * @param \DateTime|null $endDate
40
+     * @param \DateTime $startDate
41
+     * @param \DateTime $endDate
42 42
      * @param array          $customSearch
43 43
      * @param bool           $emptyPreResult
44 44
      * @param array          $additionalSlotArguments
Please login to merge, or discard this patch.
Classes/Service/Url/RealUrl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 WHERE tx_calendarize_domain_model_index.uid IS NULL AND tx_realurl_uniqalias.tablename=\'tx_calendarize_domain_model_index\'';
65 65
         $res = $databaseConnection->admin_query($selectInvalidItems);
66 66
         while ($row = $databaseConnection->sql_fetch_assoc($res)) {
67
-            $removeIds[] = (int) $row['uid'];
67
+            $removeIds[] = (int)$row['uid'];
68 68
         }
69 69
         if (empty($removeIds)) {
70 70
             return;
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             )
95 95
         );
96 96
         if (isset($row['value_id'])) {
97
-            return (int) $row['value_id'];
97
+            return (int)$row['value_id'];
98 98
         }
99 99
 
100 100
         $matches = [];
@@ -120,13 +120,13 @@  discard block
 block discarded – undo
120 120
             'tablename=' . $databaseConnection->fullQuoteStr(
121 121
                 IndexerService::TABLE_NAME,
122 122
                 IndexerService::TABLE_NAME
123
-            ) . ' AND value_id=' . (int) $value
123
+            ) . ' AND value_id=' . (int)$value
124 124
         );
125 125
         if (isset($row['value_alias'])) {
126 126
             return (string)$row['value_alias'];
127 127
         }
128 128
 
129
-        $alias = $this->getIndexBase((int) $value);
129
+        $alias = $this->getIndexBase((int)$value);
130 130
         $alias = $this->cleanUrl($alias);
131 131
 
132 132
         $databaseConnection = HelperUtility::getDatabaseConnection();
Please login to merge, or discard this patch.
Classes/Service/Url/AbstractUrl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     protected function getIndexBase($indexUid):string
37 37
     {
38 38
         $indexRepository = HelperUtility::create(IndexRepository::class);
39
-        $index = $indexRepository->findByUid((int) $indexUid);
39
+        $index = $indexRepository->findByUid((int)$indexUid);
40 40
         if (!($index instanceof Index)) {
41 41
             return 'idx-' . $indexUid;
42 42
         }
Please login to merge, or discard this patch.
Classes/Service/TimeTableService.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
             try {
46 46
                 $handler = $this->buildConfigurationHandler($configuration);
47
-            }catch(\Exception $exception){
47
+            } catch (\Exception $exception) {
48 48
                 HelperUtility::createFlashMessage(
49 49
                     $exception->getMessage(),
50 50
                     'Index invalid',
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         }
176 176
         /** @var \DateTime $base */
177 177
         $base = clone $record[$position . '_date'];
178
-        if (\is_int($record[$position . '_time']) && (int) $record[$position . '_time'] > 0) {
178
+        if (\is_int($record[$position . '_time']) && (int)$record[$position . '_time'] > 0) {
179 179
             // Fix handling, if the time field contains a complete timestamp
180 180
             $seconds = $record[$position . '_time'] % DateTimeUtility::SECONDS_DAY;
181 181
             $base->setTime(0, 0, 0);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
             try {
46 46
                 $handler = $this->buildConfigurationHandler($configuration);
47
-            }catch(\Exception $exception){
47
+            } catch(\Exception $exception){
48 48
                 HelperUtility::createFlashMessage(
49 49
                     $exception->getMessage(),
50 50
                     'Index invalid',
Please login to merge, or discard this patch.