@@ -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 | { |
@@ -85,6 +85,9 @@ |
||
| 85 | 85 | return $this; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param string $singular |
|
| 90 | + */ |
|
| 88 | 91 | protected function calculateLabels($singular) |
| 89 | 92 | { |
| 90 | 93 | if (! $singular = $this->getSingularLabel()) { |