Our implementation to get the transaction name for Scheduled Tasks, was expecting only commands, but it should also accepts closures, invokable objects and jobs. I took the implementation that Laravel uses to print the scheduled name in the terminal.
The linter was complaining, sorry for the extra diff.
Our implementation to get the transaction name for Scheduled Tasks, was expecting only commands, but it should also accepts closures, invokable objects and jobs. I took the implementation that Laravel uses to print the scheduled name in the terminal.
The linter was complaining, sorry for the extra diff.
Closes https://github.com/arkaitzgarro/elastic-apm-laravel/issues/171