Skip to content

Commit

Permalink
Merge pull request #163 from VincentLanglet/patch-2
Browse files Browse the repository at this point in the history
Add class-string typehint for getAssociationTargetClass
  • Loading branch information
greg0ire authored Apr 5, 2021
2 parents 210e9f5 + 1529f39 commit 9d18f25
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ on:
pull_request:
branches:
- "*.x"
- "master"
push:
branches:
- "*.x"
- "master"

env:
COMPOSER_ROOT_VERSION: "2.1"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ on:
pull_request:
branches:
- "*.x"
- "master"
push:
branches:
- "*.x"
- "master"
env:
COMPOSER_ROOT_VERSION: "2.1"

Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/Persistence/Mapping/ClassMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ public function getTypeOfField($fieldName);
* @param string $assocName
*
* @return string
*
* @psalm-return class-string
*/
public function getAssociationTargetClass($assocName);

Expand Down

0 comments on commit 9d18f25

Please sign in to comment.