mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 12:17:57 +00:00
📖 remove remaining instances of empty()
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user