We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3918c commit 62d9431Copy full SHA for 62d9431
lib/Zend/Service/Console/Command.php
@@ -220,8 +220,8 @@ protected static function _buildModel()
220
221
for ($hi = 0; $hi < count($handlers); $hi++) {
222
$handler = $handlers[$hi];
223
- $handlerDescription = isset($handlerDescriptions[$hi]) ? $handlerDescriptions[$hi] : isset($handlerDescriptions[0]) ? $handlerDescriptions[0] : '';
224
- $handlerDescription = str_replace('\r\n', "\r\n", $handlerDescription);
+ $handlerDescription = $handlerDescriptions[$hi] ?? $handlerDescriptions[0] ?? '';
+ $handlerDescription = str_replace('\r\n', "\r\n", $handlerDescription);
225
$handlerDescription = str_replace('\n', "\n", $handlerDescription);
226
227
$handlerModel = (object)array(
0 commit comments