📖 remove remaining instances of empty()

This commit is contained in:
smiley
2025-10-09 21:34:04 +02:00
parent 2b7c9b7020
commit 5c948cffd4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ foreach($reflectionClass->getProperties(ReflectionProperty::IS_PROTECTED) as $re
}
// add a "see also" section
if(!empty($see)){
if($see !== []){
$content[] = "\n**See also:**\n";
foreach($see as $line){
@@ -96,7 +96,7 @@ foreach($reflectionClass->getProperties(ReflectionProperty::IS_PROTECTED) as $re
}
// add "Links" section
if(!empty($link)){
if($link !== []){
$content[] = "\n**Links:**\n";
foreach($link as $line){