Skip to content

Commit

Permalink
Merge pull request #81 from joelhy/bugfix/optimize-cmd
Browse files Browse the repository at this point in the history
fix: issue #79 - Undefined variable: strictTypes
  • Loading branch information
joelhy authored May 12, 2020
2 parents ea72f49 + 297947c commit 8a93f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LumenGenerator/Console/OptimizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function compileClassesV4()
$handle = OutputWriter::openOutputFile(base_path('bootstrap/cache/compiled.php'));

try {
OutputWriter::writeOpeningTag($handle, $strictTypes);
OutputWriter::writeOpeningTag($handle, false);

foreach ($this->getClassFiles() as $file) {
try {
Expand Down

0 comments on commit 8a93f0b

Please sign in to comment.