Skip to content

Commit

Permalink
Merge pull request #145 from hydephp/rename-RegistersDefaultDirectories
Browse files Browse the repository at this point in the history
Rename internal trait RegistersDefaultDirectories to RegistersFileLocations hydephp/develop@54659f7
  • Loading branch information
github-actions committed Jul 3, 2022
1 parent 021ccdd commit 19c3c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/HydeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,7 +16,7 @@
*/
class HydeServiceProvider extends ServiceProvider
{
use RegistersDefaultDirectories;
use RegistersFileLocations;

/**
* Register any application services.
Expand Down

0 comments on commit 19c3c85

Please sign in to comment.