From 1272d04773d84aeea3f1bdcac98b3fc994332910 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Sun, 25 Apr 2021 18:44:56 +0200 Subject: [PATCH] Fix some missing phpdoc types --- src/Iterator/ErroneousMessageIterator.php | 2 +- src/Model/MessageInterface.php | 2 +- src/Model/MessageManagerInterface.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Iterator/ErroneousMessageIterator.php b/src/Iterator/ErroneousMessageIterator.php index 1786d3eb..582b6fc4 100644 --- a/src/Iterator/ErroneousMessageIterator.php +++ b/src/Iterator/ErroneousMessageIterator.php @@ -46,7 +46,7 @@ public function __construct(MessageManagerInterface $messageManager, $types = [] /** * Find messages in error. * - * @param $types + * @param array $types * * @return mixed */ diff --git a/src/Model/MessageInterface.php b/src/Model/MessageInterface.php index f94d6da7..042577c8 100644 --- a/src/Model/MessageInterface.php +++ b/src/Model/MessageInterface.php @@ -33,7 +33,7 @@ public function getBody(); /** * @param array|string $names - * @param $default + * @param mixed $default * * @return mixed */ diff --git a/src/Model/MessageManagerInterface.php b/src/Model/MessageManagerInterface.php index c608c17c..63948108 100644 --- a/src/Model/MessageManagerInterface.php +++ b/src/Model/MessageManagerInterface.php @@ -49,8 +49,8 @@ public function restart(MessageInterface $message); public function findByTypes(array $types, $state, $batchSize); /** - * @param $state - * @param $batchSize + * @param int $state + * @param int $batchSize * @param int|null $maxAttempts * @param int $attemptDelay *