Completed
Push — master ( 97e6ad...179d4f )
by Rory
01:05
created
src/CustomPostType.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
84 84
         return $this;
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $singular
89
+     */
87 90
     protected function calculateLabels($singular)
88 91
     {
89 92
         $singular = ($this->getSingularLabel()) ?? str_replace('_', ' ', $singular);
Please login to merge, or discard this patch.