Hi
I use the https://github.com/lorisleiva/laravel-actions package
When I call a action with named parameters phptool issue a 'unknown named parameter'.
Technically it might be correct, but phpstom makes it work.
class CreateDOCXStructureFromUserDoc
{
use AsAction;
public function handle(UserDoc $userDoc, array $data = null, string $templateFilename = null, string $documentFilename = null): ?DOCXStructure
{
....
}
}
called like this:
CreateDOCXStructureFromUserDoc::run(
userDoc: $record,
templateFilename: $templateFilename,
documentFilename: $documentFilename
);