Skip to content

Commit

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

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

0 comments on commit 577e9c5

Please sign in to comment.