Skip to content

Commit

Permalink
[Console] Fix OutputFormatterStyleStack::getCurrent return type
Browse files Browse the repository at this point in the history
  • Loading branch information
alamirault committed Aug 23, 2022
1 parent f3d54fc commit c5c2e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formatter/OutputFormatterStyleStack.php
Expand Up @@ -77,7 +77,7 @@ public function pop(OutputFormatterStyleInterface $style = null): OutputFormatte
/**
* Computes current style with stacks top codes.
*/
public function getCurrent(): OutputFormatterStyle
public function getCurrent(): OutputFormatterStyleInterface
{
if (empty($this->styles)) {
return $this->emptyStyle;
Expand Down

0 comments on commit c5c2e31

Please sign in to comment.