Skip to content

Commit dda62a5

Browse files
committed
- Some fixed reported by scrutinizer
1 parent 1f255d0 commit dda62a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Builder/Expr/DBExprFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DBExprFilter implements OptionalExpression {
1212
private $keyPath;
1313
/** @var callable|null */
1414
private $validator;
15-
/** @var null */
15+
/** @var callable */
1616
private $validationResultHandler;
1717

1818
/**
@@ -34,7 +34,7 @@ public function __construct($expression, array $data, $keyPath, $validator = nul
3434
};
3535
}
3636
if($validationResultHandler === null) {
37-
$validationResultHandler = function ($data) {};
37+
$validationResultHandler = function () {};
3838
}
3939
$this->validator = $validator;
4040
$this->validationResultHandler = $validationResultHandler;

0 commit comments

Comments
 (0)