mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Typehint event in console scheduling test case
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Flarum\Tests\integration\extenders;
|
||||
use Flarum\Console\AbstractCommand;
|
||||
use Flarum\Extend;
|
||||
use Flarum\Testing\integration\ConsoleTestCase;
|
||||
use Illuminate\Console\Scheduling\Event;
|
||||
|
||||
class ConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
@@ -63,7 +64,7 @@ class ConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
$this->extend(
|
||||
(new Extend\Console())
|
||||
->schedule('cache:clear', function ($event) {
|
||||
->schedule('cache:clear', function (Event $event) {
|
||||
$event->everyMinute();
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user