Failed Conditions
Pull Request — master (#11)
by Adrien
15:48 queued 12:33
created
src/Utility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @param class-string|object $object
17 17
      */
18
-    public static function getShortClassName(object|string $object): string
18
+    public static function getShortClassName(object | string $object): string
19 19
     {
20 20
         $reflect = new ReflectionClass($object);
21 21
 
Please login to merge, or discard this patch.
src/Testing/Api/AbstractServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param ExecutionResult|ExecutionResult[] $result
110 110
      */
111
-    private function resultToArray(array|ExecutionResult $result, bool $debug): array
111
+    private function resultToArray(array | ExecutionResult $result, bool $debug): array
112 112
     {
113 113
         if (is_array($result)) {
114 114
             foreach ($result as &$one) {
Please login to merge, or discard this patch.
src/Api/Server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * @return ExecutionResult|ExecutionResult[]
53 53
      */
54
-    public function execute(ServerRequestInterface $request): array|ExecutionResult
54
+    public function execute(ServerRequestInterface $request): array | ExecutionResult
55 55
     {
56 56
         if (!$request->getParsedBody()) {
57 57
             /** @var array $parsedBody */
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param ExecutionResult|ExecutionResult[] $result
79 79
      */
80
-    public function sendHttp(array|ExecutionResult $result): void
80
+    public function sendHttp(array | ExecutionResult $result): void
81 81
     {
82 82
         $this->server->getHelper()->sendResponse($result);
83 83
     }
Please login to merge, or discard this patch.