Skip to content

Commit

Permalink
Fixed phpdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xorock committed Nov 8, 2020
1 parent 47fac04 commit dd6f76c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Strategy/BooleanStrategy.php
Expand Up @@ -65,7 +65,7 @@ public function __construct($trueValue, $falseValue)
*
* @param bool|null $value The original value.
* @throws InvalidArgumentException
* @return int|string Returns the value that should be extracted.
* @return int|string|null Returns the value that should be extracted.
*/
public function extract($value, ?object $object = null)
{
Expand All @@ -88,7 +88,7 @@ public function extract($value, ?object $object = null)
*
* @param bool|int|string|null $value The original value.
* @throws InvalidArgumentException
* @return bool Returns the value that should be hydrated.
* @return bool|null Returns the value that should be hydrated.
*/
public function hydrate($value, ?array $data = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Strategy/CollectionStrategy.php
Expand Up @@ -88,7 +88,7 @@ public function extract($value, ?object $object = null)
*
* @param mixed[]|null $value The original value.
* @throws Exception\InvalidArgumentException
* @return object[] Returns the value that should be hydrated.
* @return object[]|null Returns the value that should be hydrated.
*/
public function hydrate($value, ?array $data = null)
{
Expand Down

0 comments on commit dd6f76c

Please sign in to comment.