Skip to content

Commit

Permalink
Merge pull request #418 from ben-challis/patch-1
Browse files Browse the repository at this point in the history
Add return type to `PhpArkitectApplication::getLongVersion()` for Symfony 7.x compatibility
  • Loading branch information
fain182 committed Jan 15, 2024
2 parents 92eeb25 + 74b435a commit 5c51aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLI/PhpArkitectApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct()
$this->add(new DebugExpression());
}

public function getLongVersion()
public function getLongVersion(): string
{
return sprintf("%s\n\n<info>%s</info> version <comment>%s</comment>", self::$logo, $this->getName(), $this->getVersion());
}
Expand Down

0 comments on commit 5c51aea

Please sign in to comment.