Completed
Pull Request — master (#6)
by Rory
02:06 queued 01:03
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
@@ -82,6 +82,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/CustomTaxonomy.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 CustomTaxonomy
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         return $this->options;
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $calculatedLabel
73
+     */
71 74
     protected function calculateLabels($calculatedLabel)
72 75
     {
73 76
         if ($this->getSingularLabel() === null) {
Please login to merge, or discard this patch.