| @@ -7,7 +7,6 @@ | ||
| 7 | 7 | use Checkdomain\Comodo\Model\Exception\RequestException; | 
| 8 | 8 | use Checkdomain\Comodo\Model\Exception\UnknownApiException; | 
| 9 | 9 | use Checkdomain\Comodo\Model\Exception\UnknownException; | 
| 10 | - | |
| 11 | 10 | use Checkdomain\Comodo\Model\Result\AutoApplyResult; | 
| 12 | 11 | use Checkdomain\Comodo\Model\Result\AutoReplaceResult; | 
| 13 | 12 | use Checkdomain\Comodo\Model\Result\CollectSslResult; | 
| @@ -52,9 +52,9 @@ discard block | ||
| 52 | 52 | /** | 
| 53 | 53 | * Constructs the Util with a communicationAdapter | 
| 54 | 54 | * | 
| 55 | - * @param CommunicationAdapter|null $communicationAdapter | |
| 56 | - * @param ImapAdapter|null $imapAdapter | |
| 57 | - * @param ImapHelper|null $imapHelper | |
| 55 | + * @param CommunicationAdapter $communicationAdapter | |
| 56 | + * @param ImapAdapter $imapAdapter | |
| 57 | + * @param ImapHelper $imapHelper | |
| 58 | 58 | */ | 
| 59 | 59 | public function __construct(CommunicationAdapter $communicationAdapter, ImapAdapter $imapAdapter, ImapHelper $imapHelper) | 
| 60 | 60 |      { | 
| @@ -216,7 +216,7 @@ discard block | ||
| 216 | 216 | * | 
| 217 | 217 | * @param array $params | 
| 218 | 218 | * | 
| 219 | - * @return AutoApplyResult | |
| 219 | + * @return AutoReplaceResult | |
| 220 | 220 | * @throws Model\Exception\AccountException | 
| 221 | 221 | * @throws Model\Exception\ArgumentException | 
| 222 | 222 | * @throws Model\Exception\CSRException | 
| @@ -352,7 +352,7 @@ discard block | ||
| 352 | 352 | /** | 
| 353 | 353 | * @param CollectSslResult $object | 
| 354 | 354 | * @param array $arr | 
| 355 | - * @param array $timestampFields | |
| 355 | + * @param string[] $timestampFields | |
| 356 | 356 | * | 
| 357 | 357 | * @return $this | 
| 358 | 358 | */ | 
| @@ -26,7 +26,7 @@ discard block | ||
| 26 | 26 | } | 
| 27 | 27 | |
| 28 | 28 | /** | 
| 29 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Checkdomain\Comodo\ImapExtension | |
| 29 | + * @return ImapExtension | |
| 30 | 30 | */ | 
| 31 | 31 | protected function createImapExtension() | 
| 32 | 32 |      { | 
| @@ -98,9 +98,9 @@ discard block | ||
| 98 | 98 | /** | 
| 99 | 99 | * Creates a class to simulate Requests, and return response String for testing purposes | 
| 100 | 100 | * | 
| 101 | - * @param $responseString | |
| 101 | + * @param string $responseString | |
| 102 | 102 | * | 
| 103 | - * @return \PHPUnit_Framework_MockObject_MockObject|\GuzzleHttp\Client | |
| 103 | + * @return null|Client | |
| 104 | 104 | */ | 
| 105 | 105 | protected function createGuzzleClient($responseString) | 
| 106 | 106 |      { | 
| @@ -10,7 +10,6 @@ | ||
| 10 | 10 | use GuzzleHttp\Client; | 
| 11 | 11 | use Psr\Http\Message\ResponseInterface; | 
| 12 | 12 | use Psr\Http\Message\StreamInterface; | 
| 13 | -use Zend\Mail\Storage\Folder; | |
| 14 | 13 | |
| 15 | 14 | abstract class AbstractTest extends \PHPUnit_Framework_TestCase | 
| 16 | 15 |  { | 
| @@ -199,7 +199,7 @@ discard block | ||
| 199 | 199 | } | 
| 200 | 200 | |
| 201 | 201 | /** | 
| 202 | - * @param $part | |
| 202 | + * @param Part $part | |
| 203 | 203 | * | 
| 204 | 204 | * @return null|string | 
| 205 | 205 | */ | 
| @@ -276,7 +276,7 @@ discard block | ||
| 276 | 276 | /** | 
| 277 | 277 | * @param string $message | 
| 278 | 278 | * | 
| 279 | - * @return integer|null | |
| 279 | + * @return string|null | |
| 280 | 280 | */ | 
| 281 | 281 | protected function assumeOrderNumber($message) | 
| 282 | 282 |      { | 
| @@ -298,10 +298,10 @@ discard block | ||
| 298 | 298 | } | 
| 299 | 299 | |
| 300 | 300 | /** | 
| 301 | - * @param $pattern | |
| 302 | - * @param $message | |
| 301 | + * @param string $pattern | |
| 302 | + * @param string $message | |
| 303 | 303 | * | 
| 304 | - * @return null | |
| 304 | + * @return string|null | |
| 305 | 305 | */ | 
| 306 | 306 | protected function searchSubjectAndPlainText($pattern, $message) | 
| 307 | 307 |      { |