We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc1394e + 38a3ee7 commit fccae25Copy full SHA for fccae25
1 file changed
src/App/src/Handler/GetIndexResourceHandler.php
@@ -29,7 +29,7 @@ public function __construct(
29
public function handle(ServerRequestInterface $request): ResponseInterface
30
{
31
return $this->jsonResponse([
32
- 'message' => sprintf('%s version %s', $this->config['name'], $this->config['version']),
+ 'message' => sprintf('%s version %s', $this->config['name'], $this->config['version'] ?? 'X'),
33
]);
34
}
35
0 commit comments