Completed
Push — master ( 38ffd4...ed5eea )
by Evan
03:02
created
src/Post/PostType.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Get the post type object.
85 85
      *
86
-     * @return object
86
+     * @return stdClass
87 87
      */
88 88
     public function object()
89 89
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param string,...|array $features  string - First feature of possible many,
97 97
      *                                    array - Many features to check support for.
98 98
      *
99
-     * @return mixed
99
+     * @return boolean
100 100
      */
101 101
     public function supports($features)
102 102
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Silk\Post;
4 4
 
5 5
 use stdClass;
6
-use InvalidArgumentException;
7 6
 use Illuminate\Support\Collection;
8 7
 use Silk\Exception\WP_ErrorException;
9
-use Silk\Post\Exception\InvalidPostTypeNameException;
10 8
 use Silk\Post\Exception\NonExistentPostTypeException;
11 9
 use Silk\Post\PostTypeBuilder;
12 10
 
Please login to merge, or discard this patch.
src/Term/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Model Constructor.
44 44
      *
45
-     * @param mixed $term  WP_Term to fill data from
45
+     * @param null|WP_Term $term  WP_Term to fill data from
46 46
      */
47 47
     public function __construct(WP_Term $term = null)
48 48
     {
Please login to merge, or discard this patch.