Completed
Pull Request — master (#119)
by Toby
03:12
created
src/Document.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     /**
138 138
      * Set the errors array.
139 139
      *
140
-     * @param Error[]|null $errors
140
+     * @param Error[] $errors
141 141
      */
142 142
     public function setErrors(array $errors = null)
143 143
     {
Please login to merge, or discard this patch.
src/PaginationLinksTrait.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -13,8 +13,15 @@
 block discarded – undo
13 13
 
14 14
 trait PaginationLinksTrait
15 15
 {
16
+    /**
17
+     * @param string $key
18
+     * @param string $value
19
+     */
16 20
     abstract public function setLink($key, $value);
17 21
 
22
+    /**
23
+     * @param string $key
24
+     */
18 25
     abstract public function removeLink($key);
19 26
 
20 27
     /**
Please login to merge, or discard this patch.
src/RelatedLinkTrait.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -13,8 +13,14 @@
 block discarded – undo
13 13
 
14 14
 trait RelatedLinkTrait
15 15
 {
16
+    /**
17
+     * @param string $key
18
+     */
16 19
     abstract public function setLink($key, $value);
17 20
 
21
+    /**
22
+     * @param string $key
23
+     */
18 24
     abstract public function removeLink($key);
19 25
 
20 26
     /**
Please login to merge, or discard this patch.
src/SelfLinkTrait.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -13,8 +13,14 @@
 block discarded – undo
13 13
 
14 14
 trait SelfLinkTrait
15 15
 {
16
+    /**
17
+     * @param string $key
18
+     */
16 19
     abstract public function setLink($key, $value);
17 20
 
21
+    /**
22
+     * @param string $key
23
+     */
18 24
     abstract public function removeLink($key);
19 25
 
20 26
     /**
Please login to merge, or discard this patch.
src/MetaTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
      * Remove a piece of meta data.
41 41
      *
42 42
      * @param string $key
43
-     * @param mixed $value
44 43
      */
45 44
     public function removeMetaItem($key)
46 45
     {
Please login to merge, or discard this patch.