Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | export default { |
||
2 | mixins: [Shopware.Mixin.getByName('notification')], |
||
|
|||
3 | |||
4 | methods: { |
||
5 | showExtensionErrors(errorResponse) { |
||
6 | Shopware.Service('extensionErrorService') |
||
7 | .handleErrorResponse(errorResponse, this) |
||
8 | .forEach((notification) => { |
||
9 | this.createNotificationError(notification); |
||
10 | }); |
||
11 | } |
||
12 | } |
||
13 | }; |
||
14 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.