Passed
Push — master ( 8c37b2...828f40 )
by Marcel
01:50
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,24 +31,24 @@
 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
                         'type' => 'string',
43 43
                         'enum' => ['2.0']
44 44
                     ],
45
-                    'method' => (object)[
45
+                    'method' => (object) [
46 46
                         'type' => 'string'
47 47
                     ],
48
-                    'params' => (object)[
48
+                    'params' => (object) [
49 49
                         'type' => ['array', 'object']
50 50
                     ],
51
-                    'id' => (object)[
51
+                    'id' => (object) [
52 52
                         'type' => ['integer', 'string']
53 53
                     ],
54 54
                 ]
Please login to merge, or discard this patch.