@@ -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) { |
@@ -75,6 +75,9 @@ |
||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | + /** |
|
79 | + * @param string $calculatedLabel |
|
80 | + */ |
|
78 | 81 | protected function calculateLabels($calculatedLabel) |
79 | 82 | { |
80 | 83 | if($this->getSingularLabel() === null){ |
@@ -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 CustomTaxonomy |
9 | 9 | { |