|
@@ 216-218 (lines=3) @@
|
| 213 |
|
$row = fgets($stream); |
| 214 |
|
|
| 215 |
|
if ($boundary !== null) { |
| 216 |
|
if (strpos($row, "--$boundary--") === 0) { |
| 217 |
|
throw new Exception\EndOfMultiPartReachedException ($this->contentDecoder->decode(implode("", $rows), $encoding)); |
| 218 |
|
} |
| 219 |
|
if (strpos($row, "--$boundary") === 0) { |
| 220 |
|
throw new Exception\EndOfPartReachedException ($this->contentDecoder->decode(implode("", $rows), $encoding)); |
| 221 |
|
} |
|
@@ 219-221 (lines=3) @@
|
| 216 |
|
if (strpos($row, "--$boundary--") === 0) { |
| 217 |
|
throw new Exception\EndOfMultiPartReachedException ($this->contentDecoder->decode(implode("", $rows), $encoding)); |
| 218 |
|
} |
| 219 |
|
if (strpos($row, "--$boundary") === 0) { |
| 220 |
|
throw new Exception\EndOfPartReachedException ($this->contentDecoder->decode(implode("", $rows), $encoding)); |
| 221 |
|
} |
| 222 |
|
} |
| 223 |
|
$rows [] = $row; |
| 224 |
|
} |