We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 43d4bcb + 8a4ecfb commit c7231dcCopy full SHA for c7231dc
1 file changed
console/command/db/tool.php
@@ -160,11 +160,11 @@ protected function br2nl($text)
160
*/
161
protected function get_return_code(bool $success): int
162
{
163
- $returnCode = $success ? 'SUCCESS' : 'FAILURE';
164
- $defaultCode = $success ? 0 : 1;
+ $return_code = $success ? 'SUCCESS' : 'FAILURE';
+ $default_code = $success ? 0 : 1;
165
166
- return defined("Symfony\Component\Console\Command\Command::$returnCode")
167
- ? constant("Symfony\Component\Console\Command\Command::$returnCode")
168
- : $defaultCode;
+ return defined("Symfony\Component\Console\Command\Command::$return_code")
+ ? constant("Symfony\Component\Console\Command\Command::$return_code")
+ : $default_code;
169
}
170
0 commit comments