Skip to content

Commit

Permalink
fix: use import, see QueueInterface namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
shoman4eg committed Sep 27, 2023
1 parent 55ba0b4 commit f2e9167
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace App\Endpoint\Job;

use Installer\Module\RoadRunnerBridge\resources\grpc\app\src\Endpoint\Console\PingCommand;
use App\Endpoint\Console\PingCommand;
use Psr\Log\LoggerInterface;
use Spiral\Queue\JobHandler;

/**
* Simple job handler that will be invoked by a queue consumer.
* To push a job to a queue use {@see PingCommand} console command.
*
* Or use {@see Spiral\Queue\QueueInterface} directly.
* Or use {@see \Spiral\Queue\QueueInterface} directly.
* (Spiral\Queue\QueueInterface)->push(PingJob::class, ["site"=>"http://site.com"]);
*/
final class Ping extends JobHandler
Expand Down

0 comments on commit f2e9167

Please sign in to comment.