Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Fix some missing phpdoc types
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and VincentLanglet committed May 8, 2021
1 parent 5464c39 commit 1272d04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Iterator/ErroneousMessageIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(MessageManagerInterface $messageManager, $types = []
/**
* Find messages in error.
*
* @param $types
* @param array $types
*
* @return mixed
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Model/MessageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getBody();

/**
* @param array|string $names
* @param $default
* @param mixed $default
*
* @return mixed
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/MessageManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 1272d04

Please sign in to comment.