@@ -64,7 +64,7 @@ public function __construct(
6464 * @param string|null $storeId
6565 * @return bool
6666 */
67- public function isEnabled (string $ storeId = null ): bool
67+ public function isEnabled (? string $ storeId = null ): bool
6868 {
6969 return (bool )$ this ->getConfig (self ::XML_PATH_EXTENSION_ENABLED , $ storeId );
7070 }
@@ -75,7 +75,7 @@ public function isEnabled(string $storeId = null): bool
7575 * @param string|null $storeId
7676 * @return bool
7777 */
78- public function isDeferredEnabled (string $ storeId = null ): bool
78+ public function isDeferredEnabled (? string $ storeId = null ): bool
7979 {
8080 return (bool )$ this ->getConfig (self ::XML_PATH_DEFERRED_ENABLED , $ storeId );
8181 }
@@ -86,7 +86,7 @@ public function isDeferredEnabled(string $storeId = null): bool
8686 * @param string|null $storeId
8787 * @return string
8888 */
89- public function getDisallowedPages (string $ storeId = null ): string
89+ public function getDisallowedPages (? string $ storeId = null ): string
9090 {
9191 return (string )$ this ->getConfig (self ::XML_PATH_DEFERRED_DISALLOWED_PAGES , $ storeId );
9292 }
@@ -97,7 +97,7 @@ public function getDisallowedPages(string $storeId = null): string
9797 * @param string|null $storeId
9898 * @return string
9999 */
100- public function getIgnoreJavaScript (string $ storeId = null ): string
100+ public function getIgnoreJavaScript (? string $ storeId = null ): string
101101 {
102102 return (string )$ this ->getConfig (self ::XML_PATH_DEFERRED_IGNORE_JAVASCRIPT , $ storeId );
103103 }
@@ -108,7 +108,7 @@ public function getIgnoreJavaScript(string $storeId = null): string
108108 * @param string|null $storeId
109109 * @return bool
110110 */
111- public function isBundlingEnabled (string $ storeId = null ): bool
111+ public function isBundlingEnabled (? string $ storeId = null ): bool
112112 {
113113 return (bool )$ this ->getConfig (MagentoConfig::XML_PATH_JS_BUNDLING , $ storeId );
114114 }
@@ -137,7 +137,7 @@ public function getIncludedInBundling(): string
137137 * @param string|null $storeId
138138 * @return bool
139139 */
140- public function isAmpRequest (string $ storeId = null ): bool
140+ public function isAmpRequest (? string $ storeId = null ): bool
141141 {
142142 return (bool )$ this ->getConfig (self ::XML_PATH_PLUMROCKET_AMP_ENABLED , $ storeId );
143143 }
@@ -149,7 +149,7 @@ public function isAmpRequest(string $storeId = null): bool
149149 * @param string|null $storeId
150150 * @return mixed
151151 */
152- public function getConfig (string $ path , string $ storeId = null )
152+ public function getConfig (string $ path , ? string $ storeId = null )
153153 {
154154 return $ this ->scopeConfig ->getValue ($ path , ScopeInterface::SCOPE_STORE , $ storeId );
155155 }
0 commit comments