@@ -68,7 +68,7 @@ |
||
| 68 | 68 | { |
| 69 | 69 | return new Migrations( |
| 70 | 70 | $container->get('db'), |
| 71 | - new Filesystem(new Local(APPROOT . '/etc')) |
|
| 71 | + new Filesystem(new Local(APPROOT.'/etc')) |
|
| 72 | 72 | ); |
| 73 | 73 | } |
| 74 | 74 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | ->alias(AbstractCacheItemPool::class, PsrCacheItemPoolInterface::class) |
| 33 | 33 | ->share( |
| 34 | 34 | PsrCacheItemPoolInterface::class, |
| 35 | - function (Container $container) |
|
| 35 | + function(Container $container) |
|
| 36 | 36 | { |
| 37 | 37 | /** @var \Joomla\Registry\Registry $config */ |
| 38 | 38 | $config = $container->get('config'); |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | // If the path is relative, make it absolute... Sorry Windows users, this breaks support for your environment |
| 60 | 60 | if (substr($path, 0, 1) !== '/') |
| 61 | 61 | { |
| 62 | - $path = JPATH_ROOT . '/' . $path; |
|
| 62 | + $path = JPATH_ROOT.'/'.$path; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | $options = [ |
@@ -78,22 +78,19 @@ |
||
| 78 | 78 | if ($item->isHit()) |
| 79 | 79 | { |
| 80 | 80 | $body = $item->get(); |
| 81 | - } |
|
| 82 | - else |
|
| 81 | + } else |
|
| 83 | 82 | { |
| 84 | 83 | $body = $this->view->render(); |
| 85 | 84 | |
| 86 | 85 | $this->cacheData($key, $body); |
| 87 | 86 | } |
| 88 | - } |
|
| 89 | - else |
|
| 87 | + } else |
|
| 90 | 88 | { |
| 91 | 89 | $body = $this->view->render(); |
| 92 | 90 | |
| 93 | 91 | $this->cacheData($key, $body); |
| 94 | 92 | } |
| 95 | - } |
|
| 96 | - else |
|
| 93 | + } else |
|
| 97 | 94 | { |
| 98 | 95 | $body = $this->view->render(); |
| 99 | 96 | } |