Completed
Pull Request — master (#631)
by
unknown
35s
created
Classes/Typolink/DatabaseRecordLinkBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
             $indexUid = $this->getIndexForEventUid($linkDetails['identifier'], $eventId);
33 33
 
34
-            if(!$indexUid){
34
+            if (!$indexUid) {
35 35
                 $conf['parameter'] = 0;
36 36
                 $linkDetails = [];
37 37
                 return parent::build($linkDetails, $linkText, $target, $conf);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         static $tables;
102 102
         if (!\is_array($tables)) {
103
-            $tables = array_map(function ($config) {
103
+            $tables = array_map(function($config) {
104 104
                 return $config['tableName'];
105 105
             }, GeneralUtility::makeInstance(Register::class)->getRegister());
106 106
         }
Please login to merge, or discard this patch.