fix css never been loaded

This commit is contained in:
stefan.tollkuehn committed 2026-10-22 17:55:51 +02:00
1 parent 5fc89dfff4
commit 8910a46d1d
4 files changed
+48

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
/*
* Minimal stand-in for the server class OC_Util, which is not part
* of the OCP vendor package. Records addStyle() calls for assertions.
*/
if (!class_exists(\OC_Util::class, false)) {
class OC_Util
{
/** @var list<array{string, ?string, bool}> */
public static array $styles = [];
public static function addStyle(
string $application,
?string $file = null,
bool $prepend = false
): void {
self::$styles[] = [$application, $file, $prepend];
}
}
}