File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public function __construct(VisitsConfig $config, $db = null)
5959 throw VisitsException::forMissingDatabaseTable ($ table );
6060 }
6161
62+ // @phpstan-ignore-next-line
6263 if (empty ($ this ->config ->trackingMethod )) {
6364 throw VisitsException::forNoTrackingMethod ();
6465 }
@@ -89,7 +90,7 @@ public function record()
8990
9091 // add session/server specifics
9192 $ visit ->session_id = $ this ->session ->session_id ;
92- $ visit ->user_id = $ this ->session ->{$ this ->config ->userSource } ?? null ;
93+ $ visit ->user_id = $ this ->session ->{$ this ->config ->userSource } ?? null ; // @phpstan-ignore-line
9394 $ visit ->user_agent = $ _SERVER ['HTTP_USER_AGENT ' ] ?? '' ;
9495 $ visit ->ip_address = $ _SERVER ['REMOTE_ADDR ' ] ?? null ;
9596
You can’t perform that action at this time.
0 commit comments