Skip to content

Commit cdb5741

Browse files
authored
chore(directive): Rename ACF to Acf (#93)
2 parents bfc059c + 2844130 commit cdb5741

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/Directives/ACF.php renamed to src/Directives/Acf.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

3-
namespace Log1x\SageDirectives;
3+
namespace Log1x\SageDirectives\Directives;
44

55
use Illuminate\Support\Str;
6+
use Log1x\SageDirectives\Util;
67

78
return [
89

src/Directives/Helpers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

3-
namespace Log1x\SageDirectives;
3+
namespace Log1x\SageDirectives\Directives;
44

55
use Illuminate\Support\Str;
6+
use Log1x\SageDirectives\Util;
67

78
return [
89

src/Directives/WordPress.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Log1x\SageDirectives;
3+
namespace Log1x\SageDirectives\Directives;
4+
5+
use Log1x\SageDirectives\Util;
46

57
return [
68

src/SageDirectivesServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function boot()
2727
*/
2828
public function directives()
2929
{
30-
return collect(['ACF', 'Helpers', 'WordPress'])
30+
return collect(['Acf', 'Helpers', 'WordPress'])
3131
->flatMap(function ($directive) {
3232
if (file_exists($directives = __DIR__.'/Directives/'.$directive.'.php')) {
3333
return require_once $directives;

0 commit comments

Comments
 (0)