Completed
Pull Request — master (#170)
by Carsten
03:56
created
Classes/Utility/DateTimeUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
     {
173 173
         // NOTE that new \DateTime('@timestamp') does NOT work - @see comment in normalizeDateTimeSingle()
174 174
         // So we create a date string with timezone information first, and a \DateTime in the current server timezone then.
175
-        return new \DateTime(date(\DateTime::ATOM, (int) $GLOBALS['SIM_ACCESS_TIME']));
175
+        return new \DateTime(date(\DateTime::ATOM, (int)$GLOBALS['SIM_ACCESS_TIME']));
176 176
     }
177 177
 
178 178
     /**
Please login to merge, or discard this patch.
Classes/ViewHelpers/Link/IndexViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
                 'index' => $index->getUid()
33 33
             ],
34 34
         ];
35
-        return parent::renderLink($this->getPageUid($pageUid, 'detailPid'), $additionalParams, (bool) $absolute);
35
+        return parent::renderLink($this->getPageUid($pageUid, 'detailPid'), $additionalParams, (bool)$absolute);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
Classes/ViewHelpers/Uri/IndexViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function render(Index $index, $pageUid = null, $absolute = false)
27 27
     {
28
-        parent::render($index, $pageUid, (bool) $absolute);
28
+        parent::render($index, $pageUid, (bool)$absolute);
29 29
         return $this->lastHref;
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
Classes/ViewHelpers/IndexTraversingViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
         $useIndexTime = false
46 46
     ) {
47 47
         $indexRepository = $this->objectManager->get(IndexRepository::class);
48
-        return $indexRepository->findByTraversing($index, $future, $past, (int) $limit, $sort, $useIndexTime);
48
+        return $indexRepository->findByTraversing($index, $future, $past, (int)$limit, $sort, $useIndexTime);
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
Classes/Service/TcaInformation.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
 
37 37
         $previewLimit = 10;
38 38
         if (isset($configuration['fieldConf']['config']['items'])) {
39
-            $previewLimit = (int) $configuration['fieldConf']['config']['items'];
39
+            $previewLimit = (int)$configuration['fieldConf']['config']['items'];
40 40
         }
41 41
 
42 42
         $indexService = GeneralUtility::makeInstance(IndexerService::class);
Please login to merge, or discard this patch.