Skip to content

Commit eea4717

Browse files
committed
=== instead of == on null comparison (brain misfire)
1 parent 9ad75ee commit eea4717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPFUI/ORM/Record.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ private function privateInsert(bool $updateOnDuplicate, string $ignore = '') : i
854854
{
855855
$definition = static::$fields[$key];
856856

857-
if (null == $value && null != $definition->defaultValue)
857+
if (null === $value && null !== $definition->defaultValue)
858858
{
859859
continue;
860860
}

0 commit comments

Comments
 (0)