Markus Podar
Markus Podar
But otherwise, you can try out my PR with: `composer require --dev barryvdh/laravel-ide-helper:dev-mfn-nikic-v5` And then check if ide-helper still works for your use case.
There is supposed to be a way using model hooks: - you can write a model hook https://github.com/barryvdh/laravel-ide-helper#model-hooks - which receives `$this` which is an instance of `ModelsCommand` and you...
Indeed seems broken, I'd guess the type is not taken from the Facade but the actual repository https://github.com/laravel/framework/blob/395f305c66879118bd2bc3fb87352f89c4ae9670/src/Illuminate/Cache/Repository.php#L91 (but yeah, it's still wrong)
Workaround is to write the phpdoc to the model class directly.
I understand this pattern is also used this way, e.g. https://github.com/barryvdh/laravel-ide-helper/blob/9f5670b7e94869b116dc8c3d100f95ca63527536/src/Generator.php#L151-L153 Isn't there a way to more generically solve this? Can you show a complete stacktrace? Maybe it's smarter to...
No the right place for this discussion I know, but I don't use Facades _at all_. It's always better to explicitly declare your dependencies (constructor injection). Of course these are...
> vim(coc language server) Never heard of this, does it even support what this package provides? Primary target is PhpStorm, as it's the most advanced one. Second Visual Code I...
Not an expert, my understanding: - yes, this code in isolation gives the wrong impression but - see https://github.com/antonioribeiro/google2fa-laravel#using-it-in-one-or-more-routes > ``` > Route::get('/admin', function () { > return view('admin.index'); >...
🤷🏼 FWIF, I use 2FA together with legacy PHP session support (shared with another framework 😅) and it "works for me".
Going out on a limb and saying "this is expected" given the knowledge _I am aware of_. I related this to the behaviour also how phpunit (!) handles the data...