@@ -58,13 +58,13 @@ |
||
58 | 58 | |
59 | 59 | public function getSummary(): ?string |
60 | 60 | { |
61 | - $factory = DocBlockFactory::createInstance(); |
|
61 | + $factory = DocBlockFactory::createInstance(); |
|
62 | 62 | $docComment = $this->reflectionMethod->getDocComment(); |
63 | 63 | if (!$docComment) { |
64 | 64 | return null; |
65 | 65 | } |
66 | 66 | $docblock = $factory->create($docComment); |
67 | - return $docblock->getDescription() ? : null; |
|
67 | + return $docblock->getDescription() ?: null; |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -147,8 +147,8 @@ |
||
147 | 147 | return $this->serializer->denormalize( |
148 | 148 | $data, |
149 | 149 | $resourceClass, |
150 | - null, |
|
151 | - ['object_access' => new ObjectAccess(false, true)] |
|
150 | + null, |
|
151 | + ['object_access' => new ObjectAccess(false, true)] |
|
152 | 152 | ); |
153 | 153 | } |
154 | 154 | } |