@@ -53,7 +53,7 @@ |
||
| 53 | 53 | ->all() |
| 54 | 54 | ->foldLeft( |
| 55 | 55 | new Sequence(), |
| 56 | - function (Sequence $matchedOperations, array $operationData) use ($handlers, $subject) { |
|
| 56 | + function(Sequence $matchedOperations, array $operationData) use ($handlers, $subject) { |
|
| 57 | 57 | $handler = $handlers->find(fn (PatchOperationHandler $patchHandler) => $operationData[Operations::OP_KEY_NAME] === $patchHandler->getName()); |
| 58 | 58 | if ($handler->isDefined()) { |
| 59 | 59 | /** @var PatchOperationHandler $patchOperationHandler */ |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * @throws Exception\MissingOperationRequest |
| 98 | 98 | * @throws Exception\InvalidJsonRequestContent |
| 99 | 99 | */ |
| 100 | - private function handleSubject(Patchable|iterable $subject, Sequence $matchedOperations): void |
|
| 100 | + private function handleSubject(Patchable | iterable $subject, Sequence $matchedOperations): void |
|
| 101 | 101 | { |
| 102 | 102 | if (is_iterable($subject)) { |
| 103 | 103 | $this->handleMany($subject); |