Laravel class based components class being ignored

I have laravel component created in nested folders in app/view/components/modules/Exchange/common

and i use this component like this in the code:

<x-modules.Exchange.common.text-input placeholder="{{ __('Email') }}"
                                label="{{ __('Email') }}" icon="ni ni-envelope" id="email_input"
                                name="account_email" />

the problem is that component class that has constructor and default values are being ignored completely

and Laravel renders the blade.php associated with that component directly.

And of course no default values are being passed to blade, that’s why I get this error:

Error ! with http_status: 500
Undefined variable $type (View: /var/www/html/laravel/resources/views/components/modules/Exchange/common/text-input.blade.php) (View: /var/www/html/laravel/resources/views/components/modules/Exchange/common/text-input.blade.php)

In my development environment (Window) it works without any errors and the class constructor is invoked, however, when I deployed to ECS Linux I got that error.

that error occurs in all of my components.

I tried composer dum-autoload, php artisan view:clear, php artisan cache:clear, php artisan config:clear and I tried to register the component.

Can anyone help with this issue please?
I’m using on Linux

Laravel 9.41.0
PHP 8.1.2

Thanks in advance.

Edit: All of my classes comply for PSR-4