Skip to content

Commit

Permalink
Fix for Laravel 9.36 (Blade components optimization)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidgraphics committed Oct 19, 2022
1 parent f9f8718 commit e84d01f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"laravel/framework": "^7.0|^8.0|^9.0"
"laravel/framework": "^9.36"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 0 additions & 14 deletions src/BemComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,5 @@ public function modifiers(array $modifiers, $overwrite = false)

$this->modifiers = array_merge($this->getModifiers(), $modifiers);
}


/**
* Get the view instance
*
* @return \Illuminate\Contracts\View\View
*/
public function view()
{
$view = $this->resolveView();
$view->with($this->data());

return $view;
}

}

0 comments on commit e84d01f

Please sign in to comment.