diff --git a/Block/Quicklink.php b/Block/Quicklink.php index ea610a8..0862044 100644 --- a/Block/Quicklink.php +++ b/Block/Quicklink.php @@ -77,7 +77,7 @@ public function initConfig() $initConfig['priority'] = $priority; } - return ($initConfig); + return $initConfig; } protected function runInDeveloperMode() diff --git a/CHANGELOG.md b/CHANGELOG.md index 25f9e1c..674c718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ All notable changes to this project will be documented in this file. ## [2.0.4] - Dec 03 2019 ### Fixed -- Not prefetch non-cacheble pages. +- Not prefetch non-cacheable pages. ## [2.0.3] - Jul 19 2019 diff --git a/ViewModel/Quicklink.php b/ViewModel/Quicklink.php index 7d67862..0056171 100644 --- a/ViewModel/Quicklink.php +++ b/ViewModel/Quicklink.php @@ -41,7 +41,7 @@ public function getTimeout() public function getLimit() { $config = $this->helper->getRequestLimit(); - return $config ? "priority: {$config}," : ""; + return $config ? "limit: {$config}," : ""; } /**