diff options
Diffstat (limited to 'app/Models/ReadingMode.php')
| -rw-r--r-- | app/Models/ReadingMode.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Models/ReadingMode.php b/app/Models/ReadingMode.php index 30ab13aad..c0fa95b31 100644 --- a/app/Models/ReadingMode.php +++ b/app/Models/ReadingMode.php @@ -87,26 +87,26 @@ class FreshRSS_ReadingMode { $isDefaultCtrl = Minz_Request::controllerName() === $defaultCtrl; $urlOutput = Minz_Request::currentRequest(); - $readingModes = array( + $readingModes = [ new FreshRSS_ReadingMode( "view-normal", _t('index.menu.normal_view'), - array_merge($urlOutput, array('c' => $defaultCtrl, 'a' => 'normal')), + array_merge($urlOutput, ['c' => $defaultCtrl, 'a' => 'normal']), ($isDefaultCtrl && $actualView === 'normal') ), new FreshRSS_ReadingMode( "view-global", _t('index.menu.global_view'), - array_merge($urlOutput, array('c' => $defaultCtrl, 'a' => 'global')), + array_merge($urlOutput, ['c' => $defaultCtrl, 'a' => 'global']), ($isDefaultCtrl && $actualView === 'global') ), new FreshRSS_ReadingMode( "view-reader", _t('index.menu.reader_view'), - array_merge($urlOutput, array('c' => $defaultCtrl, 'a' => 'reader')), + array_merge($urlOutput, ['c' => $defaultCtrl, 'a' => 'reader']), ($isDefaultCtrl && $actualView === 'reader') - ), - ); + ) + ]; return $readingModes; } |
