Skip to content

Commit e84d01f

Browse files
committed
Fix for Laravel 9.36 (Blade components optimization)
1 parent f9f8718 commit e84d01f

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"laravel/framework": "^7.0|^8.0|^9.0"
19+
"laravel/framework": "^9.36"
2020
},
2121
"autoload": {
2222
"psr-4": {

src/BemComponent.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,5 @@ public function modifiers(array $modifiers, $overwrite = false)
140140

141141
$this->modifiers = array_merge($this->getModifiers(), $modifiers);
142142
}
143-
144-
145-
/**
146-
* Get the view instance
147-
*
148-
* @return \Illuminate\Contracts\View\View
149-
*/
150-
public function view()
151-
{
152-
$view = $this->resolveView();
153-
$view->with($this->data());
154-
155-
return $view;
156-
}
157143

158144
}

0 commit comments

Comments
 (0)