diff --git a/rules-tests/CodeQuality/Rector/Empty_/SimplifyEmptyCheckOnEmptyArrayRector/Fixture/skip_nullable.php.inc b/rules-tests/CodeQuality/Rector/Empty_/SimplifyEmptyCheckOnEmptyArrayRector/Fixture/skip_nullable.php.inc new file mode 100644 index 00000000000..bc667299c87 --- /dev/null +++ b/rules-tests/CodeQuality/Rector/Empty_/SimplifyEmptyCheckOnEmptyArrayRector/Fixture/skip_nullable.php.inc @@ -0,0 +1,19 @@ +property = null; + } + + public function isEmpty(): bool + { + return empty($this->property); + } +}