Results 1104 comments of Anders Jenbo

It's hard to say, it could be interactions between other PHPStan plugins so it's not really easy to say without a test case. Hopefully you can work on narrowing down...

Could you try this: ```php

Is the blade file you posted `ems/_components/messages.blade.php`? Also we are missing `button.blade.php` since it's being required by the template you posted.

You don't need to @ me I'm active in the topic 🙂

~~I noticed that you are using promoted constructors, could you test if that is what is causing the issue?~~ Scratch that I have some components like that as well and...

> Here's another MRE: > > ```php >

Have you tried removing `$systems` and `$selectedSystem`, but not `$onlyActive`?

@williamdes Someone confirmed it last week. Did you test with the example repo for triggering the issue?

Workaround: ```php return $this->view('components.cookie.option', [ 'acceptText' => __(':name engedélyezése', ['name' => $this->label]), 'declineText' => __(':name elutasítása', ['name' => $this->label]), 'name' => $this->name, ]); ``` The issue here is that bladestan...

i supose the simplest solution is to just check the error in the try catch and throw a new exception if its a missing file issue. See https://github.com/TomasVotruba/bladestan/issues/56 for more...