Namespaces are one honking great idea—let's do more of those!

This commit is contained in:
Shish
2023-01-10 22:44:09 +00:00
parent 90c419b0c4
commit bce2d55744
470 changed files with 1163 additions and 103 deletions

View File

@@ -2,6 +2,8 @@
declare(strict_types=1);
namespace Shimmie2;
/**
* Class BaseThemelet
*
@@ -64,7 +66,7 @@ class BaseThemelet
}
$custom_classes = "";
if (class_exists("Relationships")) {
if (class_exists("Shimmie2\Relationships")) {
if (property_exists($image, 'parent_id') && $image->parent_id !== null) {
$custom_classes .= "shm-thumb-has_parent ";
}