@@ -61,9 +61,6 @@ public function __construct(RequestInterface $request, $socket, ?int $size = nul
6161 $ this ->request = $ request ;
6262 }
6363
64- /**
65- * {@inheritdoc}
66- */
6764 public function __toString ()
6865 {
6966 try {
@@ -73,9 +70,6 @@ public function __toString()
7370 }
7471 }
7572
76- /**
77- * {@inheritdoc}
78- */
7973 public function close ()
8074 {
8175 if ($ this ->isDetached || null === $ this ->socket ) {
@@ -84,9 +78,6 @@ public function close()
8478 fclose ($ this ->socket );
8579 }
8680
87- /**
88- * {@inheritdoc}
89- */
9081 public function detach ()
9182 {
9283 if ($ this ->isDetached ) {
@@ -100,18 +91,13 @@ public function detach()
10091 }
10192
10293 /**
103- * {@inheritdoc}
104- *
10594 * @return int<0, max>|null
10695 */
10796 public function getSize ()
10897 {
10998 return $ this ->size ;
11099 }
111100
112- /**
113- * {@inheritdoc}
114- */
115101 public function tell ()
116102 {
117103 if ($ this ->isDetached || null === $ this ->socket ) {
@@ -125,9 +111,6 @@ public function tell()
125111 return $ tell ;
126112 }
127113
128- /**
129- * {@inheritdoc}
130- */
131114 public function eof ()
132115 {
133116 if ($ this ->isDetached || null === $ this ->socket ) {
@@ -137,17 +120,12 @@ public function eof()
137120 return feof ($ this ->socket );
138121 }
139122
140- /**
141- * {@inheritdoc}
142- */
143123 public function isSeekable ()
144124 {
145125 return false ;
146126 }
147127
148128 /**
149- * {@inheritdoc}
150- *
151129 * @return void
152130 */
153131 public function seek ($ offset , $ whence = SEEK_SET )
@@ -156,42 +134,29 @@ public function seek($offset, $whence = SEEK_SET)
156134 }
157135
158136 /**
159- * {@inheritdoc}
160- *
161137 * @return void
162138 */
163139 public function rewind ()
164140 {
165141 throw new StreamException ('This stream is not seekable ' );
166142 }
167143
168- /**
169- * {@inheritdoc}
170- */
171144 public function isWritable ()
172145 {
173146 return false ;
174147 }
175148
176- /**
177- * {@inheritdoc}
178- */
179149 public function write ($ string )
180150 {
181151 throw new StreamException ('This stream is not writable ' );
182152 }
183153
184- /**
185- * {@inheritdoc}
186- */
187154 public function isReadable ()
188155 {
189156 return true ;
190157 }
191158
192159 /**
193- * {@inheritdoc}
194- *
195160 * @param int<0, max> $length
196161 */
197162 public function read ($ length )
@@ -232,9 +197,6 @@ public function read($length)
232197 return $ read ;
233198 }
234199
235- /**
236- * {@inheritdoc}
237- */
238200 public function getContents ()
239201 {
240202 if ($ this ->isDetached || null === $ this ->socket ) {
@@ -261,9 +223,6 @@ public function getContents()
261223 return $ contents ;
262224 }
263225
264- /**
265- * {@inheritdoc}
266- */
267226 public function getMetadata ($ key = null )
268227 {
269228 if ($ this ->isDetached || null === $ this ->socket ) {
0 commit comments