Skip to content

Commit

Permalink
chore(directive): Rename ACF to Acf (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Jul 29, 2023
2 parents bfc059c + 2844130 commit cdb5741
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Directives/ACF.php → src/Directives/Acf.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

namespace Log1x\SageDirectives;
namespace Log1x\SageDirectives\Directives;

use Illuminate\Support\Str;
use Log1x\SageDirectives\Util;

return [

Expand Down
3 changes: 2 additions & 1 deletion src/Directives/Helpers.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

namespace Log1x\SageDirectives;
namespace Log1x\SageDirectives\Directives;

use Illuminate\Support\Str;
use Log1x\SageDirectives\Util;

return [

Expand Down
4 changes: 3 additions & 1 deletion src/Directives/WordPress.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

namespace Log1x\SageDirectives;
namespace Log1x\SageDirectives\Directives;

use Log1x\SageDirectives\Util;

return [

Expand Down
2 changes: 1 addition & 1 deletion src/SageDirectivesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function boot()
*/
public function directives()
{
return collect(['ACF', 'Helpers', 'WordPress'])
return collect(['Acf', 'Helpers', 'WordPress'])
->flatMap(function ($directive) {
if (file_exists($directives = __DIR__.'/Directives/'.$directive.'.php')) {
return require_once $directives;
Expand Down

0 comments on commit cdb5741

Please sign in to comment.