We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 737f064 commit 986b604Copy full SHA for 986b604
2 files changed
src/SecureNative.php
@@ -15,7 +15,7 @@ class SecureNative
15
public static function init($apiKey, SecureNativeOptions $secureNativeOptions)
16
{
17
if ($apiKey == '') {
18
- throw new Exception('You must pass your SecureNative api key');
+ throw new \Exception('You must pass your SecureNative api key');
19
}
20
Logger::init($secureNativeOptions);
21
src/SecureNativeContext.php
@@ -6,13 +6,13 @@
6
7
class SecureNativeContext
8
9
- private $clientToken;
10
- private $ip;
11
- private $remoteIp;
12
- private $headers;
13
- private $url;
14
- private $method;
- private $body;
+ public $clientToken;
+ public $ip;
+ public $remoteIp;
+ public $headers;
+ public $url;
+ public $method;
+ public $body;
/**
* SecureNativeContext constructor.
0 commit comments