Completed
Push — master ( 7c2b21...ca3b7a )
by Tim
01:59
created
Classes/Typolink/DatabaseRecordLinkBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         if (isset($linkDetails['identifier']) && \in_array($linkDetails['identifier'], $this->getEventTables(), true)) {
25 25
             $eventId = $linkDetails['uid'];
26
-            $defaultPid = (int) ($GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_calendarize.']['settings.']['defaultDetailPid'] ?? 0);
26
+            $defaultPid = (int)($GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_calendarize.']['settings.']['defaultDetailPid'] ?? 0);
27 27
             if ($defaultPid <= 0) {
28 28
                 throw new \Exception('You have to configure calendarize:defaultDetailPid to use the linkhandler function');
29 29
             }
@@ -78,14 +78,14 @@  discard block
 block discarded – undo
78 78
             return 0;
79 79
         }
80 80
 
81
-        return (int) $fetchEvent[0]->getUid();
81
+        return (int)$fetchEvent[0]->getUid();
82 82
     }
83 83
 
84 84
     protected function getEventTables(): array
85 85
     {
86 86
         static $tables;
87 87
         if (!\is_array($tables)) {
88
-            $tables = \array_map(function ($config) {
88
+            $tables = \array_map(function($config) {
89 89
                 return $config['tableName'];
90 90
             }, GeneralUtility::makeInstance(Register::class)->getRegister());
91 91
         }
Please login to merge, or discard this patch.