Completed
Push — master ( 111bcd...99ca87 )
by Andrey
26:30
created
src/EventDispatcher/EventDispatcherAbstractFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/HandlerRegistry/HandlerRegistryAbstractFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/MetadataDriver/FileDriverAbstractFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/MetadataDriver/FileLocatorAbstractFactory.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/MetadataDriver/MetadataDriverAbstractFactory.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/NamingStrategy/NamingStrategyAbstractFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/ObjectConstructor/ObjectConstructorAbstractFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/Serializer/JmsSerializerAbstractFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Visitor/VisitorsAbstractFactory.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.