Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
fixes an issue when getting globals
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jul 20, 2017
1 parent a694ed8 commit d037e77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config/globals.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
declare(strict_types=1);

return [
'runtime_lang' => defined('RUNTIME_LANG') ?? '',
'runtime_platform' => defined('RUNTIME_PLATFORM') ?? ''
'runtime_lang' => defined('RUNTIME_LANG') ? RUNTIME_LANG : '',
'sys_dir' => defined('SYS_DIR') ? SYS_DIR : '',

];
2 changes: 1 addition & 1 deletion src/factories/RouterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RouterFactory implements FactoryInterface
* @var Router
*/
private $router;

public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
{
/**
Expand Down

0 comments on commit d037e77

Please sign in to comment.