Skip to content

Commit 25c6519

Browse files
committed
Use constant over int. refs symfony#14648
1 parent a47e925 commit 25c6519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console/lockable_trait.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ that adds two convenient methods to lock and release commands::
3838
// if not released explicitly, Symfony releases the lock
3939
// automatically when the execution of the command ends
4040
$this->release();
41-
42-
return 0;
41+
42+
return Command:SUCCESS;
4343
}
4444
}
4545

0 commit comments

Comments
 (0)