Skip to content

Commit

Permalink
Fix CS v3.58.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed May 29, 2024
1 parent 6d3fdb3 commit e2c22d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Persistence/Sql/Expression.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,7 @@ protected function _execute(?object $connection, bool $fromExecuteStatement)

foreach ($params as $key => $val) {
if ($val === null) {
// https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8004#issuecomment-2136064035
// $type = ParameterType::NULL;
$type = constant(ParameterType::class . '::NULL');
$type = ParameterType::NULL;
} elseif (is_bool($val)) {
$type = ParameterType::BOOLEAN;
if ($platform instanceof OraclePlatform) {
Expand Down

0 comments on commit e2c22d2

Please sign in to comment.