mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-24 22:06:00 +08:00
fix false psalm report
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
45bb084ae5
commit
d5afe84c78
1 changed files with 3 additions and 0 deletions
|
@ -431,6 +431,9 @@ class DockerActionManager
|
|||
$tagArray = explode(':', $output['Config']['Image']);
|
||||
$tag = $tagArray[1];
|
||||
apcu_add($cacheKey, $tag);
|
||||
/**
|
||||
* @psalm-suppress TypeDoesNotContainNull
|
||||
*/
|
||||
if ($tag === null) {
|
||||
error_log("No tag was found when getting the current channel. You probably did not follow the documentation correctly. Changing the channel to the default 'latest'.");
|
||||
$tag = 'latest';
|
||||
|
|
Loading…
Reference in a new issue