Completed
Push — master ( ca6828...a97beb )
by Tim
02:11
created
Classes/Seo/EventXmlSitemapDataProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,13 +52,13 @@  discard block
 block discarded – undo
52 52
                 $GLOBALS['TCA'][$table]['ctrl']['languageField'],
53 53
                 [
54 54
                     -1, // All languages
55
-                    $this->getLanguageId(),  // Current language
55
+                    $this->getLanguageId(), // Current language
56 56
                 ]
57 57
             );
58 58
         }
59 59
 
60 60
         if (!empty($pids)) {
61
-            $recursiveLevel = isset($this->config['recursive']) ? (int) $this->config['recursive'] : 0;
61
+            $recursiveLevel = isset($this->config['recursive']) ? (int)$this->config['recursive'] : 0;
62 62
             if ($recursiveLevel) {
63 63
                 $newList = [];
64 64
                 foreach ($pids as $pid) {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         foreach ($rows as $row) {
94 94
             $this->items[] = [
95 95
                 'data' => $row,
96
-                'lastMod' => (int) $row[$lastModifiedField],
96
+                'lastMod' => (int)$row[$lastModifiedField],
97 97
             ];
98 98
         }
99 99
     }
@@ -180,6 +180,6 @@  discard block
 block discarded – undo
180 180
     {
181 181
         $context = GeneralUtility::makeInstance(Context::class);
182 182
 
183
-        return (int) $context->getPropertyFromAspect('language', 'id');
183
+        return (int)$context->getPropertyFromAspect('language', 'id');
184 184
     }
185 185
 }
Please login to merge, or discard this patch.