File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ class FrontendStorageConfigurationPool
2222 * StorageConfigurationPool constructor.
2323 * @param array $storageConfigurations
2424 */
25- public function __construct (private array $ storageConfigurations = []) {}
25+ public function __construct (private array $ storageConfigurations = [])
26+ {
27+ }
2628
2729 /**
2830 * Retrieve storage collector (which hold dynamic configurations) by its namespace
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public function getDefault()
147147 $ this ->initDefaultWebsite ();
148148 }
149149 if (!$ this ->default ) {
150- throw new \DomainException (__ ( "The default website isn't defined. Set the website and try again. " ) );
150+ throw new \DomainException ("The default website isn't defined. Set the website and try again. " );
151151 }
152152 }
153153
@@ -168,7 +168,7 @@ public function clean()
168168 /**
169169 * Retrieve application config.
170170 *
171- * @deprecated 100.1.3
171+ * @deprecated 100.1.3 Should be lazy loaded with a proxy via the DI.
172172 * @return Config
173173 */
174174 private function getAppConfig ()
@@ -191,10 +191,8 @@ private function initDefaultWebsite()
191191 if (isset ($ data ['is_default ' ]) && $ data ['is_default ' ] == 1 ) {
192192 if ($ this ->default ) {
193193 throw new \DomainException (
194- __ (
195194 'The default website is invalid. '
196195 . 'Make sure no more than one default is defined and try again. '
197- )
198196 );
199197 }
200198 $ website = $ this ->factory ->create ([
You can’t perform that action at this time.
0 commit comments