Completed
Push — master ( 1df69f...78bc5d )
by Marcel
14:15
created
src/ConcurrentServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             if (0 === $pid) {
45 45
                 \fclose($pair[0]);
46 46
 
47
-                \fwrite($pair[1], $this->single(Input::fromSafeData($request)) . "\n");
47
+                \fwrite($pair[1], $this->single(Input::fromSafeData($request))."\n");
48 48
 
49 49
                 \fclose($pair[1]);
50 50
 
Please login to merge, or discard this patch.
src/Internal/Input.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,23 +31,23 @@
 block discarded – undo
31 31
         // This is the minimal schema that all incoming payloads must
32 32
         // conform to in order to be considered well-formed JSON-RPC requests.
33 33
         if (!self::$schema instanceof stdClass) {
34
-            self::$schema = (object)[
34
+            self::$schema = (object) [
35 35
                 '$schema' => 'https://json-schema.org/draft-07/schema#',
36 36
                 'description' => 'JSON-RPC 2.0 single request schema',
37 37
                 'type' => 'object',
38 38
                 'required' => ['jsonrpc', 'method'],
39 39
                 'additionalProperties' => false,
40
-                'properties' => (object)[
41
-                    'jsonrpc' => (object)[
40
+                'properties' => (object) [
41
+                    'jsonrpc' => (object) [
42 42
                         'enum' => ['2.0']
43 43
                     ],
44
-                    'method' => (object)[
44
+                    'method' => (object) [
45 45
                         'type' => 'string'
46 46
                     ],
47
-                    'params' => (object)[
47
+                    'params' => (object) [
48 48
                         'type' => ['array', 'object']
49 49
                     ],
50
-                    'id' => (object)[
50
+                    'id' => (object) [
51 51
                         'type' => ['integer', 'string']
52 52
                     ],
53 53
                 ]
Please login to merge, or discard this patch.