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

Commit

Permalink
Add PHPDoc type hinting for MessageDataCollector::getMessages
Browse files Browse the repository at this point in the history
Help for auto-completion and some tools like PHPStan
  • Loading branch information
soullivaneuh committed Nov 16, 2018
1 parent bd47db8 commit ee0b026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataCollector/MessageDataCollector.php
Expand Up @@ -127,7 +127,7 @@ public function getMessageCount($name = null)
/**
* Returns the messages of a mailer.
*
* @return array the messages
* @return \Swift_Message[] the messages
*/
public function getMessages($name = 'default')
{
Expand Down

0 comments on commit ee0b026

Please sign in to comment.