8000 Add return type-hint · symfony/symfony@c5488e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c5488e9

Browse files
committed
Add return type-hint
1 parent 1844f00 commit c5488e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Command/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ public function getName()
498498
*
499499
* @return Command The current instance
500500
*/
501-
final public function setHidden(bool $hidden = true)
501+
final public function setHidden(bool $hidden = true): static
502502
{
503503
$this->hidden = $hidden;
504504

0 commit comments

Comments
 (0)
0