@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | * @param string|int $offset |
| 42 | 42 | * @return ParameterInterface|null |
| 43 | 43 | */ |
| 44 | - public function offsetGet($offset):? ParameterInterface |
|
| 44 | + public function offsetGet($offset): ? ParameterInterface |
|
| 45 | 45 | { |
| 46 | 46 | if (gettype($offset) === 'string') { |
| 47 | 47 | $offset = $this->getOffsetFromName($offset); |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | * @param string $name |
| 95 | 95 | * @return int|null |
| 96 | 96 | */ |
| 97 | - protected function getOffsetFromName(string $name):? int |
|
| 97 | + protected function getOffsetFromName(string $name): ? int |
|
| 98 | 98 | { |
| 99 | 99 | foreach ($this as $key => $parameter) { |
| 100 | 100 | if ($parameter->getName() === $name) { |