Skip to content

Commit 986b604

Browse files
committed
Testing fixes
1 parent 737f064 commit 986b604

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/SecureNative.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SecureNative
1515
public static function init($apiKey, SecureNativeOptions $secureNativeOptions)
1616
{
1717
if ($apiKey == '') {
18-
throw new Exception('You must pass your SecureNative api key');
18+
throw new \Exception('You must pass your SecureNative api key');
1919
}
2020
Logger::init($secureNativeOptions);
2121

src/SecureNativeContext.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
class SecureNativeContext
88
{
9-
private $clientToken;
10-
private $ip;
11-
private $remoteIp;
12-
private $headers;
13-
private $url;
14-
private $method;
15-
private $body;
9+
public $clientToken;
10+
public $ip;
11+
public $remoteIp;
12+
public $headers;
13+
public $url;
14+
public $method;
15+
public $body;
1616

1717
/**
1818
* SecureNativeContext constructor.

0 commit comments

Comments
 (0)