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
22
22
* StorageConfigurationPool constructor.
23
23
* @param array $storageConfigurations
24
24
*/
25
- public function __construct (private array $ storageConfigurations = []) {}
25
+ public function __construct (private array $ storageConfigurations = [])
26
+ {
27
+ }
26
28
27
29
/**
28
30
* 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()
147
147
$ this ->initDefaultWebsite ();
148
148
}
149
149
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. " );
151
151
}
152
152
}
153
153
@@ -168,7 +168,7 @@ public function clean()
168
168
/**
169
169
* Retrieve application config.
170
170
*
171
- * @deprecated 100.1.3
171
+ * @deprecated 100.1.3 Should be lazy loaded with a proxy via the DI.
172
172
* @return Config
173
173
*/
174
174
private function getAppConfig ()
@@ -191,10 +191,8 @@ private function initDefaultWebsite()
191
191
if (isset ($ data ['is_default ' ]) && $ data ['is_default ' ] == 1 ) {
192
192
if ($ this ->default ) {
193
193
throw new \DomainException (
194
- __ (
195
194
'The default website is invalid. '
196
195
. 'Make sure no more than one default is defined and try again. '
197
- )
198
196
);
199
197
}
200
198
$ website = $ this ->factory ->create ([
You can’t perform that action at this time.
0 commit comments