Passed
Push — master ( 39b4ec...7e6a92 )
by Felix
02:42 queued 26s
created
src/PhPsst/Storage/SqLiteStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $this->garbageCollection();
71 71
     }
72 72
 
73
-    public function get(string $key): ?Password
73
+    public function get(string $key): ? Password
74 74
     {
75 75
         $password = null;
76 76
 
Please login to merge, or discard this patch.
src/PhPsst/Storage/Storage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 abstract class Storage
17 17
 {
18 18
     abstract public function store(Password $password, bool $allowOverwrite = false): void;
19
-    abstract public function get(string $key): ?Password;
19
+    abstract public function get(string $key): ? Password;
20 20
     abstract public function delete(Password $password): void;
21 21
 
22
-    public function getPasswordFromJson(string $jsonData): ?Password
22
+    public function getPasswordFromJson(string $jsonData): ? Password
23 23
     {
24 24
         $password = null;
25 25
         if (($jsonObject = json_decode($jsonData))
Please login to merge, or discard this patch.
src/PhPsst/Storage/RedisStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $this->client->expireat($password->getId(), $password->getTtl());
37 37
     }
38 38
 
39
-    public function get(string $key): ?Password
39
+    public function get(string $key): ? Password
40 40
     {
41 41
         $password = null;
42 42
         if (($passwordData = $this->client->get($key))) {
Please login to merge, or discard this patch.
src/PhPsst/Storage/FileStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $this->writeFile($password);
56 56
     }
57 57
 
58
-    public function get(string $key): ?Password
58
+    public function get(string $key): ? Password
59 59
     {
60 60
         $password = null;
61 61
         if (file_exists($this->getFileNameFromKey($key))
Please login to merge, or discard this patch.