File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ require_once __DIR__ . '/vendor/autoload.php';
2020use SecureNative\sdk\SecureNative;
2121use SecureNative\sdk\SecureNativeOptions;
2222use SecureNative\sdk\EventTypes;
23+ use SecureNative\sdk\SecureNativeContext;
2324```
2425
2526#### Initializing SDK
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments