@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | $parts = Arr::except($parts, count($parts) - 1); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - array_walk($parts, function (&$part) { |
|
| 37 | + array_walk($parts, function(&$part) { |
|
| 38 | 38 | $part = Str::snake($part); |
| 39 | 39 | }); |
| 40 | 40 | |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | { |
| 57 | 57 | $parts = explode('.', $str); |
| 58 | 58 | |
| 59 | - array_walk($parts, function (&$part) { |
|
| 59 | + array_walk($parts, function(&$part) { |
|
| 60 | 60 | $part = Str::studly($part); |
| 61 | 61 | }); |
| 62 | 62 | |
@@ -87,10 +87,10 @@ discard block |
||
| 87 | 87 | $vendorAndModule = empty($parts[0]) ? Arr::only($parts, 1) : Arr::only($parts, 0); |
| 88 | 88 | } else { |
| 89 | 89 | $parts = explode('\\', $classname); |
| 90 | - $vendorAndModule = empty($parts[0]) ? Arr::only($parts, [1,2]) : Arr::only($parts, [0,1]); |
|
| 90 | + $vendorAndModule = empty($parts[0]) ? Arr::only($parts, [1, 2]) : Arr::only($parts, [0, 1]); |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | - array_walk($vendorAndModule, function (&$part) { |
|
| 93 | + array_walk($vendorAndModule, function(&$part) { |
|
| 94 | 94 | $part = Str::snake($part); |
| 95 | 95 | }); |
| 96 | 96 | |