Skip to content

Commit

Permalink
Specify array content type for ClassMetadataFactory::getAllMetadata
Browse files Browse the repository at this point in the history
When the array contains only instances of `ClassMetadata`, then we can specify it on PHPdoc return tag for better IDE completion and documentation.
  • Loading branch information
soullivaneuh authored and Ocramius committed Jul 22, 2017
1 parent 4167060 commit c786d16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface ClassMetadataFactory
* Forces the factory to load the metadata of all classes known to the underlying
* mapping driver.
*
* @return array The ClassMetadata instances of all mapped classes.
* @return ClassMetadata[] The ClassMetadata instances of all mapped classes.
*/
public function getAllMetadata();

Expand Down

0 comments on commit c786d16

Please sign in to comment.