Simplify: direct IConfig query, green border

This commit is contained in:
2026-04-16 14:41:06 +02:00
parent ee2003956b
commit 8b045752f4
2 changed files with 21 additions and 14 deletions

View File

@@ -4,13 +4,12 @@ declare(strict_types=1);
namespace OCA\MinimalProfile\Service;
use OCP\IConfig;
class Config {
public function __construct(
private IConfig $config,
) {
private $config;
public function __construct($config) {
$this->config = $config;
}
public function getHiddenFields(): array {