@@ -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( |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * Sets the specified property denoted by $name to $value. |
162 | 162 | * |
163 | 163 | * @param string $name |
164 | - * @param mixed $value |
|
164 | + * @param string $value |
|
165 | 165 | */ |
166 | 166 | public function setProperty($name, $value) |
167 | 167 | { |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | * Returns the value of the property with the given $name. |
173 | 173 | * |
174 | 174 | * @param string $name |
175 | - * @return mixed |
|
175 | + * @return null|string |
|
176 | 176 | */ |
177 | 177 | public function getProperty($name) |
178 | 178 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | /** |
186 | 186 | * Registers the passed PartBuilder as a child of the current PartBuilder. |
187 | 187 | * |
188 | - * @param \ZBateson\MailMimeParser\Message\PartBuilder $partBuilder |
|
188 | + * @param PartBuilder $partBuilder |
|
189 | 189 | */ |
190 | 190 | public function addChild(PartBuilder $partBuilder) |
191 | 191 | { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * Returns all children PartBuilder objects. |
198 | 198 | * |
199 | - * @return \ZBateson\MailMimeParser\Message\PartBuilder[] |
|
199 | + * @return PartBuilder[] |
|
200 | 200 | */ |
201 | 201 | public function getChildren() |
202 | 202 | { |
@@ -228,8 +228,8 @@ discard block |
||
228 | 228 | * Removes the 'inline' part with the passed contentType, at the given index |
229 | 229 | * defaulting to the first |
230 | 230 | * |
231 | - * @param string $contentType |
|
232 | 231 | * @param int $index |
232 | + * @param string $mimeType |
|
233 | 233 | * @return boolean true on success |
234 | 234 | */ |
235 | 235 | protected function removePartByMimeType($mimeType, $index = 0) |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | * used for something else (e.g. changing a non-mime message to a multipart |
343 | 343 | * mime message). |
344 | 344 | * |
345 | - * @param MimePart $part |
|
345 | + * @param WritableMessage $part |
|
346 | 346 | * @return MimePart the newly-created MimePart |
347 | 347 | */ |
348 | 348 | private function createNewContentPartFromPart(MimePart $part) |
@@ -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 | { |