Skip to content

Commit c7231dc

Browse files
committed
Merge branch 'master' into dev/4.0
2 parents 43d4bcb + 8a4ecfb commit c7231dc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

console/command/db/tool.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ protected function br2nl($text)
160160
*/
161161
protected function get_return_code(bool $success): int
162162
{
163-
$returnCode = $success ? 'SUCCESS' : 'FAILURE';
164-
$defaultCode = $success ? 0 : 1;
163+
$return_code = $success ? 'SUCCESS' : 'FAILURE';
164+
$default_code = $success ? 0 : 1;
165165

166-
return defined("Symfony\Component\Console\Command\Command::$returnCode")
167-
? constant("Symfony\Component\Console\Command\Command::$returnCode")
168-
: $defaultCode;
166+
return defined("Symfony\Component\Console\Command\Command::$return_code")
167+
? constant("Symfony\Component\Console\Command\Command::$return_code")
168+
: $default_code;
169169
}
170170
}

0 commit comments

Comments
 (0)