@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * @return null|string |
34 | 34 | */ |
35 | - final public function getPrefix(): ?string |
|
35 | + final public function getPrefix(): ? string |
|
36 | 36 | { |
37 | 37 | return $this->prefix; |
38 | 38 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * @return null|string |
39 | 39 | */ |
40 | - final public function getValue(): ?string |
|
40 | + final public function getValue(): ? string |
|
41 | 41 | { |
42 | 42 | return $this->value; |
43 | 43 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @return string|null |
67 | 67 | */ |
68 | - private function resolvePattern(string $class): ?string |
|
68 | + private function resolvePattern(string $class): ? string |
|
69 | 69 | { |
70 | 70 | foreach ($this->pattern as $pattern => $name) { |
71 | 71 | if (preg_match($pattern, $class) === 1) { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * |
82 | 82 | * @return HydratableInterface|null |
83 | 83 | */ |
84 | - public function getInstanceOf(string $class): ?HydratableInterface |
|
84 | + public function getInstanceOf(string $class): ? HydratableInterface |
|
85 | 85 | { |
86 | 86 | $class = $this->getClass($class); |
87 | 87 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | /** |
35 | 35 | * @return null|string |
36 | 36 | */ |
37 | - final public function getPrefix(): ?string |
|
37 | + final public function getPrefix(): ? string |
|
38 | 38 | { |
39 | 39 | return $this->prefix; |
40 | 40 | } |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * @return null|string |
44 | 44 | */ |
45 | - final public function getValue(): ?string |
|
45 | + final public function getValue(): ? string |
|
46 | 46 | { |
47 | 47 | return $this->value; |
48 | 48 | } |