Skip to content

Commit

Permalink
Merge pull request #22 from MammatusPHP/Correctly-pass-in-$_composer_…
Browse files Browse the repository at this point in the history
…autoload_path

Correctly pass in $_composer_autoload_path
  • Loading branch information
WyriHaximus authored Apr 27, 2024
2 parents 84b6730 + e5397ad commit 2726084
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/mammatus
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
use Mammatus\App;
use Mammatus\ContainerFactory;

(function() {
(static function(string $_composer_autoload_path): void {
/**
* Require Composer's autoloader
*/
require_once $_composer_autoload_path;
})();
})($_composer_autoload_path);

(function() {
(static function(): void {
/**
* Create and boot up the application
*/
Expand Down

0 comments on commit 2726084

Please sign in to comment.