@@ -41,7 +41,7 @@ |
||
41 | 41 | $this->source = $chunk; |
42 | 42 | $this->expression = $chunk; |
43 | 43 | $this->type = self::TYPE_EXACT_MATCH; |
44 | - $expression = preg_replace_callback(self::PATTERN, function ($match) { |
|
44 | + $expression = preg_replace_callback(self::PATTERN, function($match) { |
|
45 | 45 | $parameter = $match[1]; |
46 | 46 | if (in_array($parameter, $this->parameters)) { |
47 | 47 | return '(?:[\w\-]+)'; |
@@ -52,7 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | $context = ['pattern' => $pattern]; |
54 | 54 | $this->logger->debug('Loading tiles by pattern {pattern}', $context); |
55 | - $tiles = array_map(function ($entry) { |
|
55 | + $tiles = array_map(function($entry) { |
|
56 | 56 | return $this->createTile($entry['path'], $entry['parameters']); |
57 | 57 | }, $this->locator->locate($pattern)); |
58 | 58 | $context = ['amount' => sizeof($tiles)]; |
@@ -90,7 +90,7 @@ |
||
90 | 90 | throw new BadMethodCallException($message); |
91 | 91 | } |
92 | 92 | $mapping = $this->createMapping($target->getSize()); |
93 | - $context = ['target' => $target,]; |
|
93 | + $context = ['target' => $target, ]; |
|
94 | 94 | $this->logger->debug('Creating tile generator for {target}', $context); |
95 | 95 | return new DefaultGenerator( |
96 | 96 | $this->imageManager, |