Skip to content

Commit

Permalink
Removed redundant null check
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Sep 22, 2022
1 parent e01db7a commit 9f21465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eZ/Publish/Core/FieldType/FieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function onlyEmptyInstance()
*/
public function isEmptyValue(SPIValue $value)
{
return $value === null || $value == $this->getEmptyValue();
return $value == $this->getEmptyValue();
}

/**
Expand Down

0 comments on commit 9f21465

Please sign in to comment.