File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
11
11
class Client
12
12
{
13
- const VERSION = '0.2 .0 ' ;
13
+ const VERSION = '0.3 .0 ' ;
14
14
const DEFAULT_HASH_ALGORITHM = 'RS256 ' ;
15
15
const HEADER_API_KEY = 'API-Key ' ;
16
16
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ abstract class Request
9
9
protected $ parameters ;
10
10
11
11
/**
12
- * @var string |null
12
+ * @var array |null
13
13
*/
14
14
protected $ payload ;
15
15
@@ -25,7 +25,7 @@ public function getParameters(): ?array
25
25
return $ this ->parameters ;
26
26
}
27
27
28
- public function getPayload (): ?string
28
+ public function getPayload (): ?array
29
29
{
30
30
return $ this ->payload ;
31
31
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public static function missingBearerToken(string $message = "No Bearer token fou
31
31
return new static ($ message , static ::MISSING_BEARER_TOKEN );
32
32
}
33
33
34
- public static function unresolvedPublicKey (string $ message = "Could not resolve public key " ): self
34
+ public static function unresolvedPublicKey (string $ message = "Invalid API key " ): self
35
35
{
36
36
return new static ($ message , static ::UNRESOLVED_PUBLIC_KEY );
37
37
}
You can’t perform that action at this time.
0 commit comments