Skip to content

Commit

Permalink
fix: Gacela::bootstrap with nullable arg
Browse files Browse the repository at this point in the history
Required on PHP 8.4, otherwise deprecation msg
  • Loading branch information
Chemaclass committed Dec 12, 2024
1 parent aff8919 commit 9391a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/Gacela.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class Gacela
*
* @param null|Closure(GacelaConfig):void $configFn
*/
public static function bootstrap(string $appRootDir, Closure $configFn = null): void
public static function bootstrap(string $appRootDir, ?Closure $configFn = null): void
{
self::$appRootDir = $appRootDir;
self::$mainContainer = null;
Expand Down

0 comments on commit 9391a1d

Please sign in to comment.