Skip to content

Commit

Permalink
Merge pull request #331 from X-Coder264/fix-phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire authored Feb 3, 2023
2 parents 7729fc2 + abfb41c commit e36f227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Persistence/Mapping/AbstractClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function setMetadataFor($className, $class)
* @psalm-param class-string $name
*
* @return string[]
* @psalm-return class-string[]
* @psalm-return list<class-string>
*/
protected function getParentClasses($name)
{
Expand Down Expand Up @@ -379,7 +379,8 @@ protected function getParentClasses($name)
* @param string $name The name of the class for which the metadata should get loaded.
* @psalm-param class-string $name
*
* @return string[]
* @return array<int, string>
* @psalm-return list<string>
*/
protected function loadMetadata($name)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Persistence/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface ClassMetadataFactory
* mapping driver.
*
* @return ClassMetadata[] The ClassMetadata instances of all mapped classes.
* @psalm-return T[]
* @psalm-return list<T>
*/
public function getAllMetadata();

Expand Down

0 comments on commit e36f227

Please sign in to comment.