stricter nulls

This commit is contained in:
Shish
2023-06-27 17:45:35 +01:00
parent eca49bfc94
commit 8fb6fd5f54
18 changed files with 21 additions and 25 deletions

View File

@@ -61,7 +61,7 @@ class LinkImageTheme extends Themelet
protected function url(string $url, string $content, string $type): string
{
if ($content == null) {
if (empty($content)) {
$content=$url;
}