Passed
Push — master ( 18b271...7f426d )
by Charles
02:29
created
src/Keypair.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return string|null
37 37
      */
38
-    public function getPublicKey() :? string
38
+    public function getPublicKey() : ? string
39 39
     {
40 40
         return $this->publicKey;
41 41
     }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @return string|null
47 47
      */
48
-    public function getSecretKey() :? string
48
+    public function getSecretKey() : ? string
49 49
     {
50 50
         return $this->secretKey;
51 51
     }
Please login to merge, or discard this patch.
src/Authorization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      * @param string $date
233 233
      * @return int|boolean
234 234
      */
235
-    private function getTimeDrift(string $date) :? int
235
+    private function getTimeDrift(string $date) : ? int
236 236
     {
237 237
         $now = new \DateTime();
238 238
         $now->format(\DateTime::RFC1123);
Please login to merge, or discard this patch.
src/middleware/AbstractAuthentication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      * @param string $accessToken
114 114
      * @return \ncryptf\Token
115 115
      */
116
-    abstract protected function getTokenFromAccessToken(string $accessToken) :? Token;
116
+    abstract protected function getTokenFromAccessToken(string $accessToken) : ? Token;
117 117
 
118 118
     /**
119 119
      * Given a particular token, returns an object, array, or integer representing the user
Please login to merge, or discard this patch.
src/middleware/JsonRequestParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * @param int $version
82 82
      * @return string|null
83 83
      */
84
-    private function decryptRequest(EncryptionKeyInterface $key, ServerRequestInterface $request, string $rawBody, int $version) :? string
84
+    private function decryptRequest(EncryptionKeyInterface $key, ServerRequestInterface $request, string $rawBody, int $version) : ? string
85 85
     {
86 86
         static $response = null;
87 87
         static $nonce = null;
Please login to merge, or discard this patch.