Skip to content

Commit

Permalink
Update Axm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Aug 4, 2024
1 parent 76cbcdc commit 4627cc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Axm.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ public static function makeApplication()
*/
public static function setApplication(App $app): void
{
if (self::$_app !== null) {
if (self::$_app !== null)
throw new Exception('Axm application can only be created once.');
}

self::$_app = $app;
}
Expand Down

0 comments on commit 4627cc3

Please sign in to comment.