@@ -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 */ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | private function parseJson(?string $string): array |
50 | 50 | { |
51 | 51 | try { |
52 | - $json = json_decode($string, associative: true, flags: JSON_THROW_ON_ERROR); |
|
52 | + $json = json_decode($string, associative : true, flags : JSON_THROW_ON_ERROR); |
|
53 | 53 | |
54 | 54 | // we need this control because json_decode('2', true, 512, JSON_THROW_ON_ERROR) returns a valid result: int(2) |
55 | 55 | if (!is_array($json)) { |