10000 minor #13827 [Serializer] Fix ClassMetadataFactory PHPDoc (dunglas) · rubenrua/symfony@632cc10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 632cc10

Browse files
committed
minor symfony#13827 [Serializer] Fix ClassMetadataFactory PHPDoc (dunglas)
This PR was merged into the 2.7 branch. Discussion ---------- [Serializer] Fix ClassMetadataFactory PHPDoc | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 0dba547 [Serializer] Fix ClassMetadataFactory PHPDoc
2 parents 9efec60 + 0dba547 commit 632cc10

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ public function __construct(LoaderInterface $loader, Cache $cache = null)
5959
* configuration. At last, the new object is returned.
6060
*
6161
* @param string|object $value
62+
*
6263
* @return ClassMetadata
64+
*
6365
* @throws \InvalidArgumentException
64-
6566
*/
6667
public function getMetadataFor($value)
6768
{
@@ -111,6 +112,7 @@ public function getMetadataFor($value)
111112
* Checks if class has metadata.
112113
*
113114
* @param mixed $value
115+
*
114116
* @return bool
115117
*/
116118
public function hasMetadataFor($value)
@@ -123,7 +125,8 @@ public function hasMetadataFor($value)
123125
/**
124126
* Gets a class name for a given class or instance.
125127
*
126-
* @param $value
128+
* @param mixed $value
129+
*
127130
* @return string|bool
128131
*/
129132
private function getClass($value)

0 commit comments

Comments
 (0)
0