@@ -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 | { |
@@ -451,7 +451,7 @@ |
||
| 451 | 451 | * |
| 452 | 452 | * @param MimePart $part |
| 453 | 453 | * @return MimePart the newly-created MimePart |
| 454 | - */ |
|
| 454 | + */ |
|
| 455 | 455 | private function createNewContentPartFromPart(MimePart $part) |
| 456 | 456 | { |
| 457 | 457 | $contPart = $this->mimePartFactory->newMimePart(); |
@@ -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) |