From 19c3c85fce368443a3b6baf4a98943572b715fd2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 3 Jul 2022 12:02:43 +0000 Subject: [PATCH] Merge pull request #145 from hydephp/rename-RegistersDefaultDirectories Rename internal trait RegistersDefaultDirectories to RegistersFileLocations https://github.com/hydephp/develop/commit/54659f77e03f40bacb1260a325f256dadf31519d --- ...tersDefaultDirectories.php => RegistersFileLocations.php} | 5 +---- src/HydeServiceProvider.php | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) rename src/Concerns/{RegistersDefaultDirectories.php => RegistersFileLocations.php} (92%) diff --git a/src/Concerns/RegistersDefaultDirectories.php b/src/Concerns/RegistersFileLocations.php similarity index 92% rename from src/Concerns/RegistersDefaultDirectories.php rename to src/Concerns/RegistersFileLocations.php index c8f307db..322bb63c 100644 --- a/src/Concerns/RegistersDefaultDirectories.php +++ b/src/Concerns/RegistersFileLocations.php @@ -4,10 +4,7 @@ use Hyde\Framework\Contracts\AbstractPage; -/** - * @deprecated v0.44.x will be renamed to RegistersFileLocations or similar - */ -trait RegistersDefaultDirectories +trait RegistersFileLocations { /** * Register the default source directories for the given page classes. diff --git a/src/HydeServiceProvider.php b/src/HydeServiceProvider.php index e2ce9120..d0c52416 100644 --- a/src/HydeServiceProvider.php +++ b/src/HydeServiceProvider.php @@ -2,7 +2,7 @@ namespace Hyde\Framework; -use Hyde\Framework\Concerns\RegistersDefaultDirectories; +use Hyde\Framework\Concerns\RegistersFileLocations; use Hyde\Framework\Contracts\AssetServiceContract; use Hyde\Framework\Models\Pages\BladePage; use Hyde\Framework\Models\Pages\DocumentationPage; @@ -16,7 +16,7 @@ */ class HydeServiceProvider extends ServiceProvider { - use RegistersDefaultDirectories; + use RegistersFileLocations; /** * Register any application services.