Passed
Push — master ( c22294...b9cf6e )
by Songda
11:07 queued 09:11
created
src/Provider/AbstractProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * @throws InvalidParamsException
35 35
      * @throws ServiceNotFoundException
36 36
      */
37
-    public function call(string $plugin, array $params = []): Collection|MessageInterface|array|null
37
+    public function call(string $plugin, array $params = []): Collection | MessageInterface | array | null
38 38
     {
39 39
         if (!class_exists($plugin) || !in_array(ShortcutInterface::class, class_implements($plugin))) {
40 40
             throw new InvalidParamsException(Exception::SHORTCUT_NOT_FOUND, "[{$plugin}] is not incompatible");
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @throws ContainerException
57 57
      * @throws InvalidParamsException
58 58
      */
59
-    public function pay(array $plugins, array $params): Collection|MessageInterface|null
59
+    public function pay(array $plugins, array $params): Collection | MessageInterface | null
60 60
     {
61 61
         Logger::info('[AbstractProvider] 即将进行 pay 操作', func_get_args());
62 62
 
Please login to merge, or discard this patch.
src/Rocket.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
 
33 33
     private string $direction = DirectionInterface::class;
34 34
 
35
-    private null|MessageInterface|Collection $destination = null;
35
+    private null | MessageInterface | Collection $destination = null;
36 36
 
37
-    private null|RequestInterface|ResponseInterface $destinationOrigin = null;
37
+    private null | RequestInterface | ResponseInterface $destinationOrigin = null;
38 38
 
39 39
     public function getRadar(): ?RequestInterface
40 40
     {
@@ -114,24 +114,24 @@  discard block
 block discarded – undo
114 114
         return $this;
115 115
     }
116 116
 
117
-    public function getDestination(): Collection|MessageInterface|null
117
+    public function getDestination(): Collection | MessageInterface | null
118 118
     {
119 119
         return $this->destination;
120 120
     }
121 121
 
122
-    public function setDestination(Collection|MessageInterface|null $destination): Rocket
122
+    public function setDestination(Collection | MessageInterface | null $destination): Rocket
123 123
     {
124 124
         $this->destination = $destination;
125 125
 
126 126
         return $this;
127 127
     }
128 128
 
129
-    public function getDestinationOrigin(): null|RequestInterface|ResponseInterface
129
+    public function getDestinationOrigin(): null | RequestInterface | ResponseInterface
130 130
     {
131 131
         return $this->destinationOrigin;
132 132
     }
133 133
 
134
-    public function setDestinationOrigin(null|RequestInterface|ResponseInterface $destinationOrigin): Rocket
134
+    public function setDestinationOrigin(null | RequestInterface | ResponseInterface $destinationOrigin): Rocket
135 135
     {
136 136
         $this->destinationOrigin = $destinationOrigin;
137 137
 
Please login to merge, or discard this patch.