Completed
Push — master ( 8359fa...e2a294 )
by Derek
02:10
created
src/Anshar/Http/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * Checks if a header exists by the given case-insensitive name.
107 107
      *
108 108
      * @param string $name Case-insensitive header field name.
109
-     * @return bool Returns true if any header names match the given header
109
+     * @return boolean|null Returns true if any header names match the given header
110 110
      *     name using a case-insensitive string comparison. Returns false if
111 111
      *     no matching header name is found in the message.
112 112
      */
Please login to merge, or discard this patch.
src/Anshar/Http/UriParts/Port.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * Validates a given port. A port is valid if it is either null or an integer between 1 and 65535 inclusive.
49 49
      *
50
-     * @param mixed $port   The port to be validated
50
+     * @param integer|null $port   The port to be validated
51 51
      * @return bool         Returns true if the given port is valid
52 52
      *                      Returns false otherwise
53 53
      */
Please login to merge, or discard this patch.
src/Anshar/Http/Stream.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Returns true if the stream is at the end of the stream.
83 83
      *
84
-     * @return bool
84
+     * @return boolean|null
85 85
      */
86 86
     public function eof()
87 87
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Returns whether or not the stream is seekable.
93 93
      *
94
-     * @return bool
94
+     * @return boolean|null
95 95
      */
96 96
     public function isSeekable()
97 97
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Returns whether or not the stream is writable.
135 135
      *
136
-     * @return bool
136
+     * @return boolean|null
137 137
      */
138 138
     public function isWritable()
139 139
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * Returns whether or not the stream is readable.
157 157
      *
158
-     * @return bool
158
+     * @return boolean|null
159 159
      */
160 160
     public function isReadable()
161 161
     {
Please login to merge, or discard this patch.