Completed
Push — master ( a8f089...e1da9e )
by ignace nyamagana
14:33
created
src/Components/AbstractHierarchicalComponent.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * This method MUST retain the state of the current instance, and return
116 116
      * an instance that contains the modified component with the appended data
117 117
      *
118
-     * @param HierarchicalComponent|string $component the component to append
118
+     * @param AbstractHierarchicalComponent $component the component to append
119 119
      *
120 120
      * @return static
121 121
      */
@@ -184,8 +184,6 @@  discard block
 block discarded – undo
184 184
      * This method MUST retain the state of the current instance, and return
185 185
      * an instance that contains the modified component with the replaced data
186 186
      *
187
-     * @param int                          $offset    the label offset to remove and replace by
188
-     *                                                the given component
189 187
      * @param HierarchicalComponent|string $component the component added
190 188
      *
191 189
      * @return static
Please login to merge, or discard this patch.
src/Components/HierarchicalPath.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,7 +106,6 @@  discard block
 block discarded – undo
106 106
      * Retrieves a single path segment. If the segment offset has not been set,
107 107
      * returns the default value provided.
108 108
      *
109
-     * @param string $offset  the segment offset
110 109
      * @param mixed  $default Default value to return if the offset does not exist.
111 110
      *
112 111
      * @return mixed
@@ -137,7 +136,7 @@  discard block
 block discarded – undo
137 136
      * This method MUST retain the state of the current instance, and return
138 137
      * an instance that contains the modified component with the appended data
139 138
      *
140
-     * @param HierarchicalComponent|string $component the component to append
139
+     * @param HierarchicalPath $component the component to append
141 140
      *
142 141
      * @return static
143 142
      */
@@ -198,8 +197,6 @@  discard block
 block discarded – undo
198 197
      * This method MUST retain the state of the current instance, and return
199 198
      * an instance that contains the extension basename modified.
200 199
      *
201
-     * @param string $ext the new extension
202
-     *                    can preceeded with or without the dot (.) character
203 200
      *
204 201
      * @throws \LogicException If the basename is empty
205 202
      *
Please login to merge, or discard this patch.
src/Components/Host.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,6 @@  discard block
 block discarded – undo
151 151
      * Retrieves a single host label. If the label offset has not been set,
152 152
      * returns the default value provided.
153 153
      *
154
-     * @param string $offset  the label offset
155 154
      * @param mixed  $default Default value to return if the offset does not exist.
156 155
      *
157 156
      * @return mixed
@@ -237,6 +236,7 @@  discard block
 block discarded – undo
237 236
 
238 237
     /**
239 238
      * @inheritdoc
239
+     * @param integer $type
240 240
      */
241 241
     protected static function formatComponentString($data, $type)
242 242
     {
Please login to merge, or discard this patch.
src/Components/Query.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,6 @@  discard block
 block discarded – undo
119 119
      * Retrieves a single query parameter. If the parameter has not been set,
120 120
      * returns the default value provided.
121 121
      *
122
-     * @param string $offset  the parameter name
123 122
      * @param mixed  $default Default value to return if the parameter does not exist.
124 123
      *
125 124
      * @return mixed
@@ -140,7 +139,7 @@  discard block
 block discarded – undo
140 139
      * This method MUST retain the state of the current instance, and return
141 140
      * an instance that contains the modified query
142 141
      *
143
-     * @param Query|string $query the data to be merged query can be
142
+     * @param Query $query the data to be merged query can be
144 143
      *                            - another Interfaces\Query object
145 144
      *                            - a string or a Stringable object
146 145
      *
Please login to merge, or discard this patch.
src/Modifiers/AbstractQueryModifier.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,8 @@
 block discarded – undo
26 26
     /**
27 27
      * Return a Uri object modified according to the modifier
28 28
      *
29
-     * @param Uri|UriInterface $payload
30 29
      *
31
-     * @return Uri|UriInterface
30
+     * @return UriInterface
32 31
      */
33 32
     public function __invoke($uri)
34 33
     {
Please login to merge, or discard this patch.
src/Modifiers/Normalize.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
     /**
24 24
      * Return a Uri object modified according to the modifier
25 25
      *
26
-     * @param Uri|UriInterface $payload
27 26
      *
28 27
      * @return Uri|UriInterface
29 28
      */
Please login to merge, or discard this patch.
src/Modifiers/RemoveTrailingSlash.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
     /**
26 26
      * Modify a URI part
27 27
      *
28
-     * @param string $str the URI part string representation
29 28
      *
30 29
      * @return string the modified URI part string representation
31 30
      */
Please login to merge, or discard this patch.
src/Modifiers/Resolve.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param Uri|UriInterface $payload
65 65
      *
66
-     * @return Uri|UriInterface
66
+     * @return UriInterface
67 67
      */
68 68
     public function __invoke($payload)
69 69
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param LeagueUriInterface|UriInterface $relative
78 78
      *
79
-     * @return LeagueUriInterface|UriInterface
79
+     * @return UriInterface
80 80
      */
81 81
     protected function generate($relative)
82 82
     {
Please login to merge, or discard this patch.
src/Schemes/Generic/AbstractUri.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,6 @@
 block discarded – undo
165 165
      * information.
166 166
      *
167 167
      * @param string      $user     The user name to use for authority.
168
-     * @param null|string $password The password associated with $user.
169 168
      *
170 169
      * @throws RuntimeException if the returned URI object is invalid.
171 170
      *
Please login to merge, or discard this patch.