@@ -61,9 +61,6 @@ public function __construct(RequestInterface $request, $socket, ?int $size = nul
61
61
$ this ->request = $ request ;
62
62
}
63
63
64
- /**
65
- * {@inheritdoc}
66
- */
67
64
public function __toString ()
68
65
{
69
66
try {
@@ -73,9 +70,6 @@ public function __toString()
73
70
}
74
71
}
75
72
76
- /**
77
- * {@inheritdoc}
78
- */
79
73
public function close ()
80
74
{
81
75
if ($ this ->isDetached || null === $ this ->socket ) {
@@ -84,9 +78,6 @@ public function close()
84
78
fclose ($ this ->socket );
85
79
}
86
80
87
- /**
88
- * {@inheritdoc}
89
- */
90
81
public function detach ()
91
82
{
92
83
if ($ this ->isDetached ) {
@@ -100,18 +91,13 @@ public function detach()
100
91
}
101
92
102
93
/**
103
- * {@inheritdoc}
104
- *
105
94
* @return int<0, max>|null
106
95
*/
107
96
public function getSize ()
108
97
{
109
98
return $ this ->size ;
110
99
}
111
100
112
- /**
113
- * {@inheritdoc}
114
- */
115
101
public function tell ()
116
102
{
117
103
if ($ this ->isDetached || null === $ this ->socket ) {
@@ -125,9 +111,6 @@ public function tell()
125
111
return $ tell ;
126
112
}
127
113
128
- /**
129
- * {@inheritdoc}
130
- */
131
114
public function eof ()
132
115
{
133
116
if ($ this ->isDetached || null === $ this ->socket ) {
@@ -137,17 +120,12 @@ public function eof()
137
120
return feof ($ this ->socket );
138
121
}
139
122
140
- /**
141
- * {@inheritdoc}
142
- */
143
123
public function isSeekable ()
144
124
{
145
125
return false ;
146
126
}
147
127
148
128
/**
149
- * {@inheritdoc}
150
- *
151
129
* @return void
152
130
*/
153
131
public function seek ($ offset , $ whence = SEEK_SET )
@@ -156,42 +134,29 @@ public function seek($offset, $whence = SEEK_SET)
156
134
}
157
135
158
136
/**
159
- * {@inheritdoc}
160
- *
161
137
* @return void
162
138
*/
163
139
public function rewind ()
164
140
{
165
141
throw new StreamException ('This stream is not seekable ' );
166
142
}
167
143
168
- /**
169
- * {@inheritdoc}
170
- */
171
144
public function isWritable ()
172
145
{
173
146
return false ;
174
147
}
175
148
176
- /**
177
- * {@inheritdoc}
178
- */
179
149
public function write ($ string )
180
150
{
181
151
throw new StreamException ('This stream is not writable ' );
182
152
}
183
153
184
- /**
185
- * {@inheritdoc}
186
- */
187
154
public function isReadable ()
188
155
{
189
156
return true ;
190
157
}
191
158
192
159
/**
193
- * {@inheritdoc}
194
- *
195
160
* @param int<0, max> $length
196
161
*/
197
162
public function read ($ length )
@@ -232,9 +197,6 @@ public function read($length)
232
197
return $ read ;
233
198
}
234
199
235
- /**
236
- * {@inheritdoc}
237
- */
238
200
public function getContents ()
239
201
{
240
202
if ($ this ->isDetached || null === $ this ->socket ) {
@@ -261,9 +223,6 @@ public function getContents()
261
223
return $ contents ;
262
224
}
263
225
264
- /**
265
- * {@inheritdoc}
266
- */
267
226
public function getMetadata ($ key = null )
268
227
{
269
228
if ($ this ->isDetached || null === $ this ->socket ) {
0 commit comments