Completed
Pull Request — master (#5)
by
unknown
37:09
created
src/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
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
     }
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.