@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * Filters the lines in the passed $lines array, returning a concatenated |
| 59 | 59 | * string of decoded lines. |
| 60 | 60 | * |
| 61 | - * @param array $lines |
|
| 61 | + * @param string[] $lines |
|
| 62 | 62 | * @param int $consumed |
| 63 | 63 | * @return string |
| 64 | 64 | */ |
@@ -337,8 +337,8 @@ discard block |
||
| 337 | 337 | * Removes the 'inline' part with the passed contentType, at the given index |
| 338 | 338 | * defaulting to the first |
| 339 | 339 | * |
| 340 | - * @param string $contentType |
|
| 341 | 340 | * @param int $index |
| 341 | + * @param string $mimeType |
|
| 342 | 342 | * @return boolean true on success |
| 343 | 343 | */ |
| 344 | 344 | protected function removePartByMimeType($mimeType, $index = 0) |
@@ -645,7 +645,7 @@ discard block |
||
| 645 | 645 | * Otherwise searches for a text/plain part to return. |
| 646 | 646 | * |
| 647 | 647 | * @param string $mimeType |
| 648 | - * @return MimeType or null if not found |
|
| 648 | + * @return MimePart|null or null if not found |
|
| 649 | 649 | */ |
| 650 | 650 | private function findOtherContentPartFor($mimeType) |
| 651 | 651 | { |
@@ -170,7 +170,7 @@ |
||
| 170 | 170 | * |
| 171 | 171 | * @param string $name Name of the member variable |
| 172 | 172 | * @param string $value The value to test |
| 173 | - * @param array $valid an array of valid values |
|
| 173 | + * @param integer[] $valid an array of valid values |
|
| 174 | 174 | * @throws InvalidArgumentException |
| 175 | 175 | */ |
| 176 | 176 | private function validateArgument($name, $value, array $valid) |
@@ -143,11 +143,11 @@ |
||
| 143 | 143 | /** |
| 144 | 144 | * |
| 145 | 145 | * |
| 146 | - * @param type $handle |
|
| 146 | + * @param resource $handle |
|
| 147 | 147 | * @param MimePart $part |
| 148 | 148 | * @param Message $message |
| 149 | - * @param type $contentStartPos |
|
| 150 | - * @param type $boundaryLength |
|
| 149 | + * @param integer $contentStartPos |
|
| 150 | + * @param integer $boundaryLength |
|
| 151 | 151 | */ |
| 152 | 152 | protected function attachStreamHandles($handle, MimePart $part, Message $message, $contentStartPos, $boundaryLength) |
| 153 | 153 | { |