My Blade directives in the Laravel project are underlined. I put messages on them. For example, I put on

@if (Route::has('login')) 

And I get

 Directive is not closed 

Although it is closed.

I drive on

 @else 

And I get

 Missing opening directive 

Although the opening directive is.

Why is that? I attach screenshots. Laravel Plugin costs, Blade Support costs, _ide_helper.php costs. enter image description here enter image description here enter image description here enter image description here enter image description here

    0