@@ -16,5 +16,5 @@ |
||
| 16 | 16 | * @return mixed |
| 17 | 17 | * @throws ValueNotUnserializable |
| 18 | 18 | */ |
| 19 | - public function tryToUnserializeValue(string $objectClassName, $serializedValue); |
|
| 19 | + public function tryToUnserializeValue(string $objectClassName, $serializedValue); |
|
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function convert($anything) |
| 26 | 26 | { |
| 27 | 27 | if (is_array($anything)) { |
| 28 | - return array_map(function ($item) { |
|
| 28 | + return array_map(function($item) { |
|
| 29 | 29 | return $this->convert($item); |
| 30 | 30 | }, $anything); |
| 31 | 31 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | return 'O:' . strlen($className) . ':"' . $className . '":0:{}'; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - private function getClassProperty(\ReflectionClass $reflectionClass, string $propertyName):?\ReflectionProperty |
|
| 61 | + private function getClassProperty(\ReflectionClass $reflectionClass, string $propertyName): ?\ReflectionProperty |
|
| 62 | 62 | { |
| 63 | 63 | if (!$reflectionClass->hasProperty($propertyName)) { |
| 64 | 64 | |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | abstract class LocalAdapterLocator implements ObjectUnserializer |
| 13 | 13 | { |
| 14 | - protected function locateUnserializerForClass(string $className, $serializedValue):?ObjectUnserializer |
|
| 14 | + protected function locateUnserializerForClass(string $className, $serializedValue): ?ObjectUnserializer |
|
| 15 | 15 | { |
| 16 | 16 | $hydratorName = $this->getNamespace() . '\\' . $className . '\\From' . ucfirst($this->getNameFromSerializedValue($serializedValue)); |
| 17 | 17 | |