Skip to content

Commit

Permalink
[Exceptions] minor: define exceptions in globalThis instead of global
Browse files Browse the repository at this point in the history
  • Loading branch information
alekitto committed Feb 2, 2024
1 parent 9872221 commit c4cc137
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Exception/InvalidArgumentException.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const ExceptionInterface = Jymfony.Component.Messenger.Exception.ExceptionInterf
/**
* @memberOf Jymfony.Component.Messenger.Exception
*/
export default class InvalidArgumentException extends mix(global.InvalidArgumentException, ExceptionInterface) {
export default class InvalidArgumentException extends mix(globalThis.InvalidArgumentException, ExceptionInterface) {
}
2 changes: 1 addition & 1 deletion src/Exception/LogicException.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const ExceptionInterface = Jymfony.Component.Messenger.Exception.ExceptionInterf
/**
* @memberOf Jymfony.Component.Messenger.Exception
*/
export default class LogicException extends mix(global.LogicException, ExceptionInterface) {
export default class LogicException extends mix(globalThis.LogicException, ExceptionInterface) {
}
2 changes: 1 addition & 1 deletion src/Exception/RuntimeException.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const ExceptionInterface = Jymfony.Component.Messenger.Exception.ExceptionInterf
/**
* @memberOf Jymfony.Component.Messenger.Exception
*/
export default class RuntimeException extends mix(global.RuntimeException, ExceptionInterface) {
export default class RuntimeException extends mix(globalThis.RuntimeException, ExceptionInterface) {
}

0 comments on commit c4cc137

Please sign in to comment.