Passed
Pull Request — master (#15)
by Mattia
30:41 queued 16:42
created
src/PatchManager/OperationMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/PatchManager/PatchManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.