upgraded to laravel 10

This commit is contained in:
Denis Duliçi
2023-03-16 16:36:13 +03:00
parent f16d121c45
commit 37b0d4207e
34 changed files with 843 additions and 866 deletions

View File

@@ -46,20 +46,6 @@ trait Jobs
return app(Dispatcher::class)->dispatchSync($job, $handler);
}
/**
* Dispatch a command to its appropriate handler in the current process.
*
* @param mixed $job
* @param mixed $handler
* @return mixed
*
* @deprecated Will be removed in a future Laravel version.
*/
public function dispatchNow($job, $handler = null)
{
return app(Dispatcher::class)->dispatchNow($job, $handler);
}
/**
* Dispatch a job to its appropriate handler and return a response array for ajax calls.
*