Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jun 16, 2022
1 parent b8b0d3b commit 9a91202
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Queue/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace Queue\Queue;

use Cake\Console\ConsoleIo;
use Cake\Datasource\ModelAwareTrait;
use Cake\ORM\Locator\LocatorAwareTrait;
use Psr\Log\LoggerInterface;
use Queue\Console\Io;
Expand All @@ -19,6 +20,11 @@
*/
abstract class Task implements TaskInterface {

/*
* @deprecated Use LocatorAwareTrait instead. Will be removed with next major.
*/
use ModelAwareTrait;

use LocatorAwareTrait;

/**
Expand Down

0 comments on commit 9a91202

Please sign in to comment.