@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\Exception\InvalidArgumentException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @var MetadataInterface[] |
46 | 46 | */ |
47 | - protected $classAnnotations = []; |
|
47 | + protected $classAnnotations = [ ]; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | protected function init() |
65 | 65 | { |
66 | 66 | try { |
67 | - AnnotationRegistry::registerLoader(function ($class) { |
|
67 | + AnnotationRegistry::registerLoader(function($class) { |
|
68 | 68 | return (bool) class_exists($class); |
69 | 69 | }); |
70 | 70 | } catch (\Exception $e) { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | { |
92 | 92 | $key = $serviceClassName . '_' . $serviceMethod; |
93 | 93 | if (array_key_exists($key, $this->classAnnotations)) { |
94 | - return $this->classAnnotations[$key]; |
|
94 | + return $this->classAnnotations[ $key ]; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | $r = new ReflectionClass($serviceClassName); |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | */ |
194 | 194 | public function setDoctrineAnnotationReaderClassName($doctrineAnnotationReaderClassName) |
195 | 195 | { |
196 | - $this->doctrineAnnotationReaderClassName = (string)$doctrineAnnotationReaderClassName; |
|
196 | + $this->doctrineAnnotationReaderClassName = (string) $doctrineAnnotationReaderClassName; |
|
197 | 197 | |
198 | 198 | return $this; |
199 | 199 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Reader\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Reader\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\Metadata\Exception\RuntimeException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Metadata\Reader\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Annotation; |
7 | 7 | |
8 | 8 | use Doctrine\Common\Annotations\Annotation\Required; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\Annotation; |
7 | 7 | |
8 | 8 | use Doctrine\Common\Annotations\Annotation\Required; |