@@ -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 | { |
@@ -82,6 +82,9 @@ |
||
82 | 82 | return $this; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $calculatedLabel |
|
87 | + */ |
|
85 | 88 | protected function calculateLabels($calculatedLabel) |
86 | 89 | { |
87 | 90 | if($this->getSingularLabel() === null){ |