@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Psi\Component\Description\Enhancer\Doctrine; |
4 | 4 | |
5 | -use Doctrine\ODM\PHPCR\Mapping\ClassMetadataFactory; |
|
6 | 5 | use Doctrine\Common\Util\ClassUtils; |
7 | 6 | use Psi\Component\Description\EnhancerInterface; |
8 | 7 | use Psi\Component\Description\DescriptionInterface; |
@@ -32,7 +32,7 @@ |
||
32 | 32 | $childClasses = $metadata->getChildClasses(); |
33 | 33 | |
34 | 34 | // cast child classes to strings because of https://github.com/doctrine/phpcr-odm/issues/723 |
35 | - $childClasses = array_map(function ($value) { |
|
35 | + $childClasses = array_map(function($value) { |
|
36 | 36 | return (string) $value; |
37 | 37 | }, $childClasses); |
38 | 38 |