Completed
Pull Request — master (#5)
by
unknown
36:49
created
src/storage/vault/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      * @return mixed
149 149
      * @throws \yii\base\InvalidConfigException
150 150
      */
151
-    private function request(string $method, string|array $url, array $data = [], array $headers = [])
151
+    private function request(string $method, string | array $url, array $data = [], array $headers = [])
152 152
     {
153 153
         $request = $this->http->createRequest()
154 154
             ->setMethod($method)
Please login to merge, or discard this patch.
src/storage/vault/services/Sys.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -966,7 +966,7 @@  discard block
 block discarded – undo
966 966
             ];
967 967
         }
968 968
 
969
-        return $this->client->post('/v1/sys/namespaces/api-lock/lock'. $path, [], $headers);
969
+        return $this->client->post('/v1/sys/namespaces/api-lock/lock' . $path, [], $headers);
970 970
     }
971 971
 
972 972
     /**
@@ -979,7 +979,7 @@  discard block
 block discarded – undo
979 979
      */
980 980
     public function unlockNamespace(string $path = '', array $data = [])
981 981
     {
982
-        return $this->client->post('/v1/sys/namespaces/api-lock/unlock'. $path, $data);
982
+        return $this->client->post('/v1/sys/namespaces/api-lock/unlock' . $path, $data);
983 983
     }
984 984
 
985 985
     /**
Please login to merge, or discard this patch.
src/storage/vault/auth/UsernamePassword.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @see https://developer.hashicorp.com/vault/api-docs/auth/userpass#update-policies-on-user
85 85
      * @throws \yii\base\InvalidConfigException
86 86
      */
87
-    public function updateUserPolicies(string $username, array|string $policies)
87
+    public function updateUserPolicies(string $username, array | string $policies)
88 88
     {
89 89
         $data = [
90 90
             'token_policies' => $policies,
Please login to merge, or discard this patch.