diff --git a/src/Database/Console/PruneCommand.php b/src/Database/Console/PruneCommand.php index 648a80bb..11a77aed 100644 --- a/src/Database/Console/PruneCommand.php +++ b/src/Database/Console/PruneCommand.php @@ -5,6 +5,7 @@ use Illuminate\Database\Console\PruneCommand as BasePruneCommand; use Illuminate\Database\Eloquent\MassPrunable; use Illuminate\Database\Eloquent\Prunable; +use Illuminate\Support\Facades\Event; use Winter\Storm\Support\Facades\File; class PruneCommand extends BasePruneCommand @@ -53,7 +54,7 @@ protected function findModels() * }); * */ - $models = \Event::fire('system.console.model.prune.findModels', [$this], true); + $models = Event::fire('system.console.model.prune.findModels', [$this], true); if ($models instanceof \Illuminate\Support\Collection) { return $models; } diff --git a/src/Filesystem/Filesystem.php b/src/Filesystem/Filesystem.php index 7aef9790..3bcdd3a7 100644 --- a/src/Filesystem/Filesystem.php +++ b/src/Filesystem/Filesystem.php @@ -9,7 +9,7 @@ use InvalidArgumentException; use ReflectionClass; use Symfony\Component\Finder\Finder; -use Winter\Storm\Support\Collection; +use Illuminate\Support\Collection; use Winter\Storm\Support\Facades\Config; /**