Skip to content

Commit

Permalink
docs: remove unneeded code in example
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 1, 2019
1 parent c59dc9b commit bc8bd60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 61,6 @@ namespace App\Job;

use Cake\Log\LogTrait;
use Interop\Queue\Processor;
use Psr\Log\LogLevel;
use Queue\Queue\JobData;

class ExampleJob
Expand All @@ -73,7 72,7 @@ class ExampleJob
$id = $job->getData('id');
$message = $job->getData('message');

$this->log(sprintf('%d %s', $id, $message), LogLevel::INFO);
$this->log(sprintf('%d %s', $id, $message));

return Processor::ACK;
}
Expand Down

0 comments on commit bc8bd60

Please sign in to comment.