@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | 'resourceName' => $resource->ResourceName, |
46 | 46 | 'basePath' => $this->getBasePath($holder), |
47 | 47 | 'fields' => array_map( |
48 | - function (ResourceField $field) { |
|
48 | + function(ResourceField $field) { |
|
49 | 49 | return [ |
50 | 50 | 'OriginalLabel' => $field->OriginalLabel, |
51 | 51 | 'ReadableLabel' => $field->ReadableLabel, |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | ])->Sort('Position', 'ASC')->toArray() |
63 | 63 | ), |
64 | 64 | 'filters' => array_map( |
65 | - function (ResourceFilter $filter) { |
|
65 | + function(ResourceFilter $filter) { |
|
66 | 66 | $explodedClassName = explode('\\', get_class($filter)); |
67 | 67 | return [ |
68 | 68 | 'type' => array_pop($explodedClassName), |
@@ -90,6 +90,6 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | $link = $holder->RelativeLink(); |
93 | - return Director::baseURL() . trim($link, '/'); |
|
93 | + return Director::baseURL().trim($link, '/'); |
|
94 | 94 | } |
95 | 95 | } |