mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix attempt
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
79af222c2d
commit
6722dee1d6
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ class ContainerDefinitionFetcher
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function GetContainerById(string $id): ?Container
|
public function GetContainerById(string $id): Container
|
||||||
{
|
{
|
||||||
$containers = $this->FetchDefinition();
|
$containers = $this->FetchDefinition();
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class ContainerDefinitionFetcher
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
throw new \Exception("The provided id " . $id . " was not found in the container definition.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue