@@ -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) |