From df1b1ebf5680f0aa4982786e5d4be4823164cf9d Mon Sep 17 00:00:00 2001 From: Zaahid Bateson Date: Sun, 22 Aug 2021 19:10:48 -0700 Subject: [PATCH] Scrutinizer fixes --- src/Message/IMessagePart.php | 2 +- src/Parser/Proxy/ParserMimePartProxy.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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(); }