|
@@ -103,7 +103,7 @@ discard block |
|
|
block discarded – undo |
|
103
|
103
|
->filter(new Psi\IsInstanceOf(ClassCreatorMarker::class)) |
|
104
|
104
|
->each($validationContext) |
|
105
|
105
|
// map the first one to a Creator |
|
106
|
|
- ->map(function (ClassCreatorMarker $marker) { return $marker->getCreator($this->creatorFactory); }) |
|
|
106
|
+ ->map(function(ClassCreatorMarker $marker) { return $marker->getCreator($this->creatorFactory); }) |
|
107
|
107
|
// or get the default creator |
|
108
|
108
|
->getFirst($this->creatorFactory->create($subject)); |
|
109
|
109
|
} |
|
@@ -155,7 +155,7 @@ discard block |
|
|
block discarded – undo |
|
155
|
155
|
|
|
156
|
156
|
$propertyName = $property->getName(); |
|
157
|
157
|
|
|
158
|
|
- if (! isset($result[$propertyName])) { |
|
|
158
|
+ if (!isset($result[$propertyName])) { |
|
159
|
159
|
|
|
160
|
160
|
$marker = $this->getPropertyAnnotationsOfType($subject, $base, $property); |
|
161
|
161
|
|
Please login to merge, or discard this patch.