phpstan not using outcome of function – Laravel
I have a function that checks if a value is null and after I call that function I use the value that is obviously not null. but phpstan still says it could be null. Do you guys have any solution…
I have a function that checks if a value is null and after I call that function I use the value that is obviously not null. but phpstan still says it could be null. Do you guys have any solution…
I do get a warning whenever I throw an exception in my code without explicitly stating it in the docblocs: I know this can be fixed by adding @throw tags, but the warning is actually not 100% true, as I…