2020
2121namespace Fusio \Impl \Backend \Filter \App \Token ;
2222
23+ use DateTimeImmutable ;
2324use Fusio \Engine \RequestInterface ;
2425use Fusio \Impl \Backend \Filter \DateQueryFilter ;
2526use PSX \Sql \Condition ;
27+ use PSX \Sql \TableInterface ;
2628
2729/**
2830 * TokenQueryFilter
@@ -39,7 +41,7 @@ class TokenQueryFilter extends DateQueryFilter
3941 private ?string $ scope = null ;
4042 private ?string $ ip = null ;
4143
42- public function __construct (?int $ appId , ?int $ userId , ?int $ status , ?string $ scope , ?string $ ip , \ DateTimeImmutable $ from , \ DateTimeImmutable $ to , int $ startIndex , int $ count , ?string $ search = null , ?string $ sortBy = null , ?string $ sortOrder = null )
44+ public function __construct (?int $ appId , ?int $ userId , ?int $ status , ?string $ scope , ?string $ ip , DateTimeImmutable $ from , DateTimeImmutable $ to , int $ startIndex , int $ count , ?string $ search = null , ?string $ sortBy = null , ?string $ sortOrder = null )
4345 {
4446 parent ::__construct ($ from , $ to , $ startIndex , $ count , $ search , $ sortBy , $ sortOrder );
4547
@@ -75,9 +77,9 @@ public function getIp(): ?string
7577 return $ this ->ip ;
7678 }
7779
78- public function getCondition (array $ columnMapping , ?string $ alias = null ): Condition
80+ public function getCondition (TableInterface $ table , array $ columnMapping , ?string $ alias = null ): Condition
7981 {
80- $ condition = parent ::getCondition ($ columnMapping , $ alias );
82+ $ condition = parent ::getCondition ($ table , $ columnMapping , $ alias );
8183 $ alias = $ this ->getAlias ($ alias );
8284
8385 if (!empty ($ this ->appId )) {
0 commit comments