Skip to content

Commit 98ef2da

Browse files
committed
Small CR fixes
1 parent a2f214b commit 98ef2da

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ require_once __DIR__ . '/vendor/autoload.php';
2020
use SecureNative\sdk\SecureNative;
2121
use SecureNative\sdk\SecureNativeOptions;
2222
use SecureNative\sdk\EventTypes;
23+
use SecureNative\sdk\SecureNativeContext;
2324
```
2425

2526
#### Initializing SDK

src/Models/EventOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private function set($data){
6161

6262

6363
if (count($data[self::EVENT_PROPERTIES]) > self::MAX_EVENT_PROPERTIES_COUNT) {
64-
throw new Exception('You can only set up to '+ self::MAX_EVENT_PROPERTIES_COUNT +' custom properties');
64+
throw new \Exception('You can only set up to ' . self::MAX_EVENT_PROPERTIES_COUNT . ' custom properties');
6565
}
6666

6767
$this->properties = isset($data[self::EVENT_PROPERTIES]) ? $data[self::EVENT_PROPERTIES] : null;

0 commit comments

Comments
 (0)