@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * |
114 | 114 | * @return ConstraintViolation |
115 | 115 | */ |
116 | - public function setPropertyPath(?string $path): ConstraintViolation |
|
116 | + public function setPropertyPath(?string $path) : ConstraintViolation |
|
117 | 117 | { |
118 | 118 | $this->propertyPath = $path; |
119 | 119 | |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | * |
195 | 195 | * @return ConstraintViolation |
196 | 196 | */ |
197 | - public function setPlural(?int $plural): ConstraintViolation |
|
197 | + public function setPlural(?int $plural) : ConstraintViolation |
|
198 | 198 | { |
199 | 199 | $this->plural = $plural; |
200 | 200 |
@@ -65,7 +65,7 @@ |
||
65 | 65 | /** |
66 | 66 | * @return null|string |
67 | 67 | */ |
68 | - public function getClientMutationId():?string |
|
68 | + public function getClientMutationId(): ?string |
|
69 | 69 | { |
70 | 70 | return $this->clientMutationId; |
71 | 71 | } |
@@ -21,12 +21,12 @@ |
||
21 | 21 | * |
22 | 22 | * @return DeprecateInterface |
23 | 23 | */ |
24 | - public function setDeprecationReason(?string $deprecationReason): DeprecateInterface; |
|
24 | + public function setDeprecationReason(?string $deprecationReason) : DeprecateInterface; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @return string |
28 | 28 | */ |
29 | - public function getDeprecationReason():?string; |
|
29 | + public function getDeprecationReason(): ?string; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @return bool |
@@ -25,5 +25,5 @@ |
||
25 | 25 | * |
26 | 26 | * @return ClassAwareDefinitionInterface |
27 | 27 | */ |
28 | - public function setClass(?string $class): ClassAwareDefinitionInterface; |
|
28 | + public function setClass(?string $class) : ClassAwareDefinitionInterface; |
|
29 | 29 | } |
@@ -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} |
@@ -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 | } |