@@ -20,7 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * {@inheritDoc} |
22 | 22 | */ |
23 | - public function getResolver():?string; |
|
23 | + public function getResolver(): ?string; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * {@inheritDoc} |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * |
100 | 100 | * @return string |
101 | 101 | */ |
102 | - protected function getNormalizedType(?string $type):?string |
|
102 | + protected function getNormalizedType(?string $type) : ?string |
|
103 | 103 | { |
104 | 104 | switch ($type) { |
105 | 105 | case DoctrineType::BOOLEAN: |
@@ -291,7 +291,7 @@ |
||
291 | 291 | //sort by priority |
292 | 292 | usort( |
293 | 293 | $decorators, |
294 | - function ($service1, $service2) { |
|
294 | + function($service1, $service2) { |
|
295 | 295 | list($priority1) = $service1; |
296 | 296 | list($priority2) = $service2; |
297 | 297 |
@@ -77,7 +77,7 @@ |
||
77 | 77 | //sort by priority |
78 | 78 | usort( |
79 | 79 | $resolvers, |
80 | - function ($service1, $service2) { |
|
80 | + function($service1, $service2) { |
|
81 | 81 | list($priority1) = $service1; |
82 | 82 | list($priority2) = $service2; |
83 | 83 |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @return DeprecateInterface |
27 | 27 | */ |
28 | - public function setDeprecationReason(?string $deprecationReason): DeprecateInterface |
|
28 | + public function setDeprecationReason(?string $deprecationReason) : DeprecateInterface |
|
29 | 29 | { |
30 | 30 | $this->deprecationReason = $deprecationReason; |
31 | 31 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * @return string |
45 | 45 | */ |
46 | - public function getDeprecationReason():?string |
|
46 | + public function getDeprecationReason(): ?string |
|
47 | 47 | { |
48 | 48 | return $this->deprecationReason; |
49 | 49 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * @return null|string |
28 | 28 | */ |
29 | - public function getResolver():?string |
|
29 | + public function getResolver(): ?string |
|
30 | 30 | { |
31 | 31 | return $this->resolver; |
32 | 32 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @return ClassAwareDefinitionInterface |
35 | 35 | */ |
36 | - public function setClass(?string $class): ClassAwareDefinitionInterface |
|
36 | + public function setClass(?string $class) : ClassAwareDefinitionInterface |
|
37 | 37 | { |
38 | 38 | $this->class = $class; |
39 | 39 |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @return DefinitionInterface |
40 | 40 | */ |
41 | - public function setName(?string $name): DefinitionInterface |
|
41 | + public function setName(?string $name) : DefinitionInterface |
|
42 | 42 | { |
43 | 43 | $this->name = $name; |
44 | 44 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @return DefinitionInterface |
60 | 60 | */ |
61 | - public function setDescription(?string $description): DefinitionInterface |
|
61 | + public function setDescription(?string $description) : DefinitionInterface |
|
62 | 62 | { |
63 | 63 | $this->description = $description; |
64 | 64 |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @return DefinitionInterface |
27 | 27 | */ |
28 | - public function setName(?string $name): DefinitionInterface; |
|
28 | + public function setName(?string $name) : DefinitionInterface; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @return string |
@@ -37,5 +37,5 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @return DefinitionInterface |
39 | 39 | */ |
40 | - public function setDescription(?string $description): DefinitionInterface; |
|
40 | + public function setDescription(?string $description) : DefinitionInterface; |
|
41 | 41 | } |