From c3a5780d37996f14fefacd7ba5af4703f53b14db Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Tue, 19 May 2020 12:47:49 +0800 Subject: [PATCH] Update providers and alias to use October Validator service --- modules/system/aliases.php | 2 +- modules/system/providers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/aliases.php b/modules/system/aliases.php index 314dd0992..622ec2c1f 100644 --- a/modules/system/aliases.php +++ b/modules/system/aliases.php @@ -29,7 +29,6 @@ return [ 'Storage' => Illuminate\Support\Facades\Storage::class, 'Url' => Illuminate\Support\Facades\URL::class, // Preferred 'URL' => Illuminate\Support\Facades\URL::class, - 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, /* @@ -52,6 +51,7 @@ return [ 'Twig' => October\Rain\Support\Facades\Twig::class, 'DbDongle' => October\Rain\Support\Facades\DbDongle::class, 'Schema' => October\Rain\Support\Facades\Schema::class, + 'Validator' => October\Rain\Support\Facades\Validator::class, 'Cms' => Cms\Facades\Cms::class, 'Backend' => Backend\Facades\Backend::class, 'BackendMenu' => Backend\Facades\BackendMenu::class, diff --git a/modules/system/providers.php b/modules/system/providers.php index 79e1d7c48..96951f747 100644 --- a/modules/system/providers.php +++ b/modules/system/providers.php @@ -16,7 +16,6 @@ return [ Illuminate\Pipeline\PipelineServiceProvider::class, Illuminate\Queue\QueueServiceProvider::class, Illuminate\Session\SessionServiceProvider::class, - Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, Laravel\Tinker\TinkerServiceProvider::class, @@ -36,5 +35,6 @@ return [ October\Rain\Mail\MailServiceProvider::class, October\Rain\Argon\ArgonServiceProvider::class, October\Rain\Redis\RedisServiceProvider::class, + October\Rain\Validation\ValidationServiceProvider::class, ];