Skip to content

Commit

Permalink
[Serializer] Fix ClassMetadataFactory PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Mar 2, 2015
1 parent c62ba24 commit 38fa4e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Mapping/Factory/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ public function __construct(LoaderInterface $loader, Cache $cache = null)
* configuration. At last, the new object is returned.
*
* @param string|object $value
*
* @return ClassMetadata
*
* @throws \InvalidArgumentException
*/
public function getMetadataFor($value)
{
Expand Down Expand Up @@ -111,6 +112,7 @@ public function getMetadataFor($value)
* Checks if class has metadata.
*
* @param mixed $value
*
* @return bool
*/
public function hasMetadataFor($value)
Expand All @@ -123,7 +125,8 @@ public function hasMetadataFor($value)
/**
* Gets a class name for a given class or instance.
*
* @param $value
* @param mixed $value
*
* @return string|bool
*/
private function getClass($value)
Expand Down

0 comments on commit 38fa4e5

Please sign in to comment.