@@ -347,7 +347,7 @@ |
||
| 347 | 347 | Pagerfanta $results, |
| 348 | 348 | $template, |
| 349 | 349 | $page |
| 350 | - ){ |
|
| 350 | + ) { |
|
| 351 | 351 | $results->setCurrentPage($page, true, true); |
| 352 | 352 | $results->setMaxPerPage($this->config->getPaginationMaxPerPage()); |
| 353 | 353 | |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | )) |
| 91 | 91 | ; |
| 92 | 92 | |
| 93 | - $resolver->setNormalizer('model_transformer', function (Options $options, $value) { |
|
| 93 | + $resolver->setNormalizer('model_transformer', function(Options $options, $value) { |
|
| 94 | 94 | if (!is_array($value)) { |
| 95 | 95 | $value = array( |
| 96 | 96 | 'class' => $value, |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | ->setDefaults(array( |
| 62 | 62 | 'class' => null, |
| 63 | 63 | )) |
| 64 | - ->setNormalizer('class', function () { |
|
| 64 | + ->setNormalizer('class', function() { |
|
| 65 | 65 | return $this->className; |
| 66 | 66 | }) |
| 67 | 67 | ; |
@@ -118,6 +118,6 @@ |
||
| 118 | 118 | */ |
| 119 | 119 | private function getCacheKey(TemplateReferenceInterface $template, ThemeInterface $theme) |
| 120 | 120 | { |
| 121 | - return $template->getLogicalName() . '|' . $theme->getSlug(); |
|
| 121 | + return $template->getLogicalName().'|'.$theme->getSlug(); |
|
| 122 | 122 | } |
| 123 | 123 | } |
@@ -68,6 +68,6 @@ |
||
| 68 | 68 | */ |
| 69 | 69 | private function getCacheKey(TemplateReferenceInterface $template, ThemeInterface $theme) |
| 70 | 70 | { |
| 71 | - return $template->getLogicalName() . '|' . $theme->getSlug(); |
|
| 71 | + return $template->getLogicalName().'|'.$theme->getSlug(); |
|
| 72 | 72 | } |
| 73 | 73 | } |