File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
app/code/Magento/Store/Model Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,12 @@ public function get($code)
78
78
79
79
if ($ website ->getId () === null ) {
80
80
throw new NoSuchEntityException (
81
- __ (sprintf ("The website with code %s that was requested wasn't found. Verify the website and try again. " , $ code ))
81
+ __ (
82
+ sprintf (
83
+ "The website with code %s that was requested wasn't found. Verify the website and try again. " ,
84
+ $ code
85
+ )
86
+ )
82
87
);
83
88
}
84
89
$ this ->entities [$ code ] = $ website ;
@@ -102,7 +107,12 @@ public function getById($id)
102
107
103
108
if ($ website ->getId () === null ) {
104
109
throw new NoSuchEntityException (
105
- __ (sprintf ("The website with id %s that was requested wasn't found. Verify the website and try again. " , $ id ))
110
+ __ (
111
+ sprintf (
112
+ "The website with id %s that was requested wasn't found. Verify the website and try again. " ,
113
+ $ id
114
+ )
115
+ )
106
116
);
107
117
}
108
118
$ this ->entities [$ website ->getCode ()] = $ website ;
You can’t perform that action at this time.
0 commit comments