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

Commit

Permalink
minor #264 Add PHPDoc type hinting for MessageDataCollector::getMessa…
Browse files Browse the repository at this point in the history
…ges (Soullivaneuh)

This PR was merged into the 3.2-dev branch.

Discussion
----------

Add PHPDoc type hinting for MessageDataCollector::getMessages

Help for auto-completion and some tools like PHPStan

Commits
-------

ee0b026 Add PHPDoc type hinting for MessageDataCollector::getMessages
  • Loading branch information
fabpot committed Dec 10, 2018
2 parents 597a029 + ee0b026 commit 80afd8e
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 80afd8e

Please sign in to comment.