@@ -87,7 +87,7 @@ |
||
87 | 87 | protected function getSaveAttributes($safeOnly = false) |
88 | 88 | { |
89 | 89 | $data = $this->getAttributes($this->getSaveAttributeList($safeOnly)); |
90 | - return array_filter($data, function ($val) { |
|
90 | + return array_filter($data, function($val) { |
|
91 | 91 | return $val !== '' || $val !== [] || $val !== null; |
92 | 92 | }); |
93 | 93 | } |
@@ -966,7 +966,7 @@ discard block |
||
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 |
||
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 | /** |