Skip to content

Commit fccae25

Browse files
authored
Merge pull request #408 from dotkernel/alexmerlin-patch-1
Update `GetIndexResourceHandler.php`
2 parents bc1394e + 38a3ee7 commit fccae25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/src/Handler/GetIndexResourceHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(
2929
public function handle(ServerRequestInterface $request): ResponseInterface
3030
{
3131
return $this->jsonResponse([
32-
'message' => sprintf('%s version %s', $this->config['name'], $this->config['version']),
32+
'message' => sprintf('%s version %s', $this->config['name'], $this->config['version'] ?? 'X'),
3333
]);
3434
}
3535
}

0 commit comments

Comments
 (0)