@@ -71,6 +71,9 @@ |
||
71 | 71 | return $this; |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $singular |
|
76 | + */ |
|
74 | 77 | protected function calculateLabels($singular) |
75 | 78 | { |
76 | 79 | $singular = str_replace('_', ' ', $singular); |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Brightoak\WordPressTools; |
4 | 4 | |
5 | -use Illuminate\Support\Str; |
|
6 | 5 | use Brightoak\WordPressTools\Exceptions\InvalidArgumentException; |
6 | +use Illuminate\Support\Str; |
|
7 | 7 | |
8 | 8 | class CustomPostType |
9 | 9 | { |