@@ -54,7 +54,7 @@ |
||
54 | 54 | private static function flatten(array $array) |
55 | 55 | { |
56 | 56 | $return = array(); |
57 | - array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; }); |
|
57 | + array_walk_recursive($array, function ($a) use (&$return) { $return[] = $a; }); |
|
58 | 58 | return $return; |
59 | 59 | } |
60 | 60 | } |
61 | 61 | \ No newline at end of file |
@@ -95,6 +95,6 @@ |
||
95 | 95 | } |
96 | 96 | } |
97 | 97 | |
98 | - return preg_replace('#(?<!:)/+#','/', join('/', $paths)); |
|
98 | + return preg_replace('#(?<!:)/+#', '/', join('/', $paths)); |
|
99 | 99 | } |
100 | 100 | } |
@@ -333,7 +333,6 @@ |
||
333 | 333 | * Write the compiled output for a repeater PageView. |
334 | 334 | * |
335 | 335 | * @param RepeaterPageView $pageView |
336 | - |
|
337 | 336 | * @since 0.1.1 |
338 | 337 | * |
339 | 338 | * @throws TemplateErrorInterface |
@@ -453,7 +453,7 @@ |
||
453 | 453 | |
454 | 454 | if (!$enabled) |
455 | 455 | { |
456 | - return; |
|
456 | + return; |
|
457 | 457 | } |
458 | 458 | |
459 | 459 | foreach ($this->getConfiguration()->getHighlighterCustomLanguages() as $lang => $path) |