- Modernized code a bit and added variables to blocks
This commit is contained in:
1 parent
722131d801
commit
778f84116b
12 files changed
+146
-52
No files matched your search
@@ -20,7 +20,10 @@ return [
|
||||
},
|
||||
|
||||
Context::class => function($c) {
|
||||
return new BaseContext($c->get(Lean\Lean::class)->getPiceaContext());
|
||||
return new BaseContext(
|
||||
defaultNamespace: $c->get(Lean\Lean::class)->getPiceaContext(),
|
||||
declare: getenv('PICEA_DECLARE') ?? 'declare(strict_types=1)'
|
||||
);
|
||||
},
|
||||
|
||||
Compiler::class => autowire(Compiler::class),
|
||||
|
||||
Reference in new issue
Block a user