diff --git a/src/Message/IMessagePart.php b/src/Message/IMessagePart.php index 6a9ec042..b90f92e4 100644 --- a/src/Message/IMessagePart.php +++ b/src/Message/IMessagePart.php @@ -65,7 +65,7 @@ public function getCharset(); * Returns the content's disposition, or returns the value of $default if * not defined. * - * @param $default Optional default value to return if not + * @param string $default Optional default value to return if not * applicable/defined * @return string|null the disposition. */ diff --git a/src/Parser/Proxy/ParserMimePartProxy.php b/src/Parser/Proxy/ParserMimePartProxy.php index d0575fda..57b63813 100644 --- a/src/Parser/Proxy/ParserMimePartProxy.php +++ b/src/Parser/Proxy/ParserMimePartProxy.php @@ -105,7 +105,6 @@ public function popNextChild() public function parseAll() { $this->parseContent(); - $child = null; while (!$this->allChildrenParsed) { $this->parseNextChild(); }