Fixed bug that crontab process does not work. (#4229)

This commit is contained in:
李铭昕 2021-11-07 17:50:09 +08:00 committed by GitHub
parent bf4d4abd6d
commit 0779cce435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ declare(strict_types=1);
*/
namespace Hyperf\Crontab;
interface LoggerInterface
interface LoggerInterface extends \Psr\Log\LoggerInterface
{
}

View File

@ -16,7 +16,7 @@ use Hyperf\Contract\StdoutLoggerInterface;
use Hyperf\Coordinator\Constants;
use Hyperf\Coordinator\CoordinatorManager;
use Hyperf\Crontab\Event\CrontabDispatcherStarted;
use Hyperf\Crontab\LoggerInterface;
use Psr\Log\LoggerInterface;
use Hyperf\Crontab\Scheduler;
use Hyperf\Crontab\Strategy\StrategyInterface;
use Hyperf\Process\AbstractProcess;