@@ -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 | */ |
@@ -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) |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @param string $messageObjectId |
| 20 | 20 | * @param PartBuilder $partBuilder |
| 21 | - * @param PartStreamFilterManager $partStreamFilterManager |
|
| 22 | 21 | * @return \ZBateson\MailMimeParser\Message\Part\NonMimePart |
| 23 | 22 | */ |
| 24 | 23 | public function newInstance( |
@@ -179,7 +179,7 @@ |
||
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | 181 | * |
| 182 | - * @return type |
|
| 182 | + * @return PartFactoryService |
|
| 183 | 183 | */ |
| 184 | 184 | public function getPartFactoryService() |
| 185 | 185 | { |
@@ -213,7 +213,6 @@ |
||
| 213 | 213 | * |
| 214 | 214 | * @param resource $handle |
| 215 | 215 | * @param PartBuilder $partBuilder |
| 216 | - * @param boolean $isMessage |
|
| 217 | 216 | */ |
| 218 | 217 | protected function readPart($handle, PartBuilder $partBuilder) |
| 219 | 218 | { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * Sets the specified property denoted by $name to $value. |
| 168 | 168 | * |
| 169 | 169 | * @param string $name |
| 170 | - * @param mixed $value |
|
| 170 | + * @param string $value |
|
| 171 | 171 | */ |
| 172 | 172 | public function setProperty($name, $value) |
| 173 | 173 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | * Returns the value of the property with the given $name. |
| 179 | 179 | * |
| 180 | 180 | * @param string $name |
| 181 | - * @return mixed |
|
| 181 | + * @return null|string |
|
| 182 | 182 | */ |
| 183 | 183 | public function getProperty($name) |
| 184 | 184 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * Registers the passed PartBuilder as a child of the current PartBuilder. |
| 193 | 193 | * |
| 194 | - * @param \ZBateson\MailMimeParser\Message\PartBuilder $partBuilder |
|
| 194 | + * @param PartBuilder $partBuilder |
|
| 195 | 195 | */ |
| 196 | 196 | public function addChild(PartBuilder $partBuilder) |
| 197 | 197 | { |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * Returns all children PartBuilder objects. |
| 207 | 207 | * |
| 208 | - * @return \ZBateson\MailMimeParser\Message\PartBuilder[] |
|
| 208 | + * @return PartBuilder[] |
|
| 209 | 209 | */ |
| 210 | 210 | public function getChildren() |
| 211 | 211 | { |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | * set to true (i.e. this isn't a discardable part following the parent's |
| 346 | 346 | * end boundary line). |
| 347 | 347 | * |
| 348 | - * @return booelan |
|
| 348 | + * @return boolean |
|
| 349 | 349 | */ |
| 350 | 350 | public function canHaveHeaders() |
| 351 | 351 | { |