Skip to content

Commit

Permalink
Fix missing constructor argument for PhpEngine in Laravel 8.x and upd…
Browse files Browse the repository at this point in the history
…ate testbench dependency (#308)
  • Loading branch information
bpedroza authored Sep 6, 2020
1 parent d7d05db commit 64cb88a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"mockery/mockery": "^1.3",
"orchestra/testbench": "5.0",
"orchestra/testbench": "^5.0|^6.0",
"psalm/plugin-laravel": "^1.2"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/IgnitionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function registerViewEngines()
}

$this->app->make('view.engine.resolver')->register('php', function () {
return new PhpEngine();
return new PhpEngine($this->app['files']);
});

$this->app->make('view.engine.resolver')->register('blade', function () {
Expand Down

0 comments on commit 64cb88a

Please sign in to comment.