@@ -22,7 +22,7 @@ |
||
| 22 | 22 | ->arrayNode('source') |
| 23 | 23 | ->prototype('scalar') |
| 24 | 24 | ->validate() |
| 25 | - ->always(function ($v) { |
|
| 25 | + ->always(function($v) { |
|
| 26 | 26 | $v = str_replace(DIRECTORY_SEPARATOR, '/', $v); |
| 27 | 27 | |
| 28 | 28 | if (!is_dir($v)) { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | public function getMetadata() |
| 49 | 49 | { |
| 50 | 50 | // Create a function to filter out our annotations |
| 51 | - $filterAnnotations = function ($annotation) { |
|
| 51 | + $filterAnnotations = function($annotation) { |
|
| 52 | 52 | return $annotation instanceof SerializerAnnotation; |
| 53 | 53 | }; |
| 54 | 54 | |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Happyr\SerializerBundle\Normalizer; |
| 4 | 4 | |
| 5 | 5 | use Happyr\SerializerBundle\Annotation\ExclusionPolicy; |
| 6 | -use Happyr\SerializerBundle\Metadata\Metadata; |
|
| 7 | 6 | use Happyr\SerializerBundle\PropertyManager\AttributeExtractor; |
| 8 | 7 | use Happyr\SerializerBundle\PropertyManager\ReflectionPropertyAccess; |
| 9 | 8 | use Happyr\SerializerBundle\PropertyManager\PropertyNameConverter; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Happyr\SerializerBundle\Normalizer; |
| 4 | 4 | |
| 5 | 5 | use Happyr\SerializerBundle\Annotation\ExclusionPolicy; |
| 6 | -use Happyr\SerializerBundle\Metadata\Metadata; |
|
| 7 | 6 | use Happyr\SerializerBundle\PropertyManager\AttributeExtractor; |
| 8 | 7 | use Happyr\SerializerBundle\PropertyManager\ReflectionPropertyAccess; |
| 9 | 8 | use Happyr\SerializerBundle\PropertyManager\PropertyNameConverter; |