mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 09:10:58 +08: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;
|
||||
}
|
||||
|
||||
public function GetContainerById(string $id): ?Container
|
||||
public function GetContainerById(string $id): Container
|
||||
{
|
||||
$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…
Reference in a new issue