@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param $name |
28 | 28 | * @param $requestedName |
29 | 29 | * |
30 | - * @return bool|void |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
33 | 33 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $name = $eventDispatcherConfig->getName(); |
64 | 64 | $options = $eventDispatcherConfig->getOptions(); |
65 | 65 | |
66 | - $eventDispatcher = $serviceLocator->get( |
|
66 | + $eventDispatcher = $serviceLocator->get( |
|
67 | 67 | $name, |
68 | 68 | $options |
69 | 69 | ); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param $name |
27 | 27 | * @param $requestedName |
28 | 28 | * |
29 | - * @return bool|void |
|
29 | + * @return boolean |
|
30 | 30 | */ |
31 | 31 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
32 | 32 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $name = $handlerRegistryConfig->getName(); |
64 | 64 | $options = $handlerRegistryConfig->getOptions(); |
65 | 65 | |
66 | - $handlerRegistry = $serviceLocator->get( |
|
66 | + $handlerRegistry = $serviceLocator->get( |
|
67 | 67 | $name, |
68 | 68 | $options |
69 | 69 | ); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param $name |
29 | 29 | * @param $requestedName |
30 | 30 | * |
31 | - * @return bool|void |
|
31 | + * @return boolean |
|
32 | 32 | */ |
33 | 33 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
34 | 34 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | throw new Exception\RuntimeException($errMsg); |
56 | 56 | } |
57 | 57 | |
58 | - $fileLocatorName = $creationOptions['fileLocator']; |
|
58 | + $fileLocatorName = $creationOptions[ 'fileLocator' ]; |
|
59 | 59 | $fileLocator = $serviceLocator->get($fileLocatorName); |
60 | 60 | |
61 | 61 | $r = new ReflectionClass($requestedName); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param $name |
29 | 29 | * @param $requestedName |
30 | 30 | * |
31 | - * @return bool|void |
|
31 | + * @return boolean |
|
32 | 32 | */ |
33 | 33 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
34 | 34 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param $name |
43 | 43 | * @param $requestedName |
44 | 44 | * |
45 | - * @return AdapterInterface |
|
45 | + * @return FileLocatorInterface |
|
46 | 46 | * @throws \Nnx\JmsSerializerModule\MetadataDriver\Exception\RuntimeException |
47 | 47 | * @throws \Nnx\JmsSerializerModule\Options\Exception\InvalidArgumentException |
48 | 48 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $name = $fileLocatorConfig->getName(); |
65 | 65 | $options = $fileLocatorConfig->getOptions(); |
66 | 66 | |
67 | - $fileLocator = $serviceLocator->get( |
|
67 | + $fileLocator = $serviceLocator->get( |
|
68 | 68 | $name, |
69 | 69 | $options |
70 | 70 | ); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param $name |
29 | 29 | * @param $requestedName |
30 | 30 | * |
31 | - * @return bool|void |
|
31 | + * @return boolean |
|
32 | 32 | */ |
33 | 33 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
34 | 34 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param $name |
43 | 43 | * @param $requestedName |
44 | 44 | * |
45 | - * @return AdapterInterface |
|
45 | + * @return DriverInterface |
|
46 | 46 | * @throws \Nnx\JmsSerializerModule\MetadataDriver\Exception\RuntimeException |
47 | 47 | * @throws \Nnx\JmsSerializerModule\Options\Exception\InvalidArgumentException |
48 | 48 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $name = $metadataDriverConfig->getName(); |
65 | 65 | $options = $metadataDriverConfig->getOptions(); |
66 | 66 | |
67 | - $metadataDriver = $serviceLocator->get( |
|
67 | + $metadataDriver = $serviceLocator->get( |
|
68 | 68 | $name, |
69 | 69 | $options |
70 | 70 | ); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param $name |
27 | 27 | * @param $requestedName |
28 | 28 | * |
29 | - * @return bool|void |
|
29 | + * @return boolean |
|
30 | 30 | */ |
31 | 31 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
32 | 32 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | $name = $strategyConfig->getName(); |
63 | 63 | $options = $strategyConfig->getOptions(); |
64 | 64 | |
65 | - $strategy = $serviceLocator->get( |
|
65 | + $strategy = $serviceLocator->get( |
|
66 | 66 | $name, |
67 | 67 | $options |
68 | 68 | ); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param $name |
28 | 28 | * @param $requestedName |
29 | 29 | * |
30 | - * @return bool|void |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
33 | 33 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $name = $objectConstructorConfig->getName(); |
64 | 64 | $options = $objectConstructorConfig->getOptions(); |
65 | 65 | |
66 | - $objectConstructor = $serviceLocator->get( |
|
66 | + $objectConstructor = $serviceLocator->get( |
|
67 | 67 | $name, |
68 | 68 | $options |
69 | 69 | ); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param $name |
27 | 27 | * @param $requestedName |
28 | 28 | * |
29 | - * @return bool|void |
|
29 | + * @return boolean |
|
30 | 30 | */ |
31 | 31 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
32 | 32 | { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @param $name |
28 | 28 | * @param $requestedName |
29 | 29 | * |
30 | - * @return bool|void |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
33 | 33 | { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param $name |
42 | 42 | * @param $requestedName |
43 | 43 | * |
44 | - * @return ObjectConstructorInterface |
|
44 | + * @return VisitorInterface |
|
45 | 45 | * @throws \Nnx\JmsSerializerModule\Visitor\Exception\RuntimeException |
46 | 46 | * @throws \Nnx\JmsSerializerModule\ObjectConstructor\Exception\RuntimeException |
47 | 47 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $name = $visitorConfig->getName(); |
65 | 65 | $options = $visitorConfig->getOptions(); |
66 | 66 | |
67 | - $visitor = $serviceLocator->get( |
|
67 | + $visitor = $serviceLocator->get( |
|
68 | 68 | $name, |
69 | 69 | $options |
70 | 70 | ); |