Remove inline control strucutres
This commit is contained in:
parent
7ecd0e4a8d
commit
49669ccf97
@ -85,12 +85,16 @@ final class MDErrorReporter {
|
||||
$msg .= PHP_EOL . "## " . $headline;
|
||||
$msg .= PHP_EOL . "----------------------" . PHP_EOL . PHP_EOL;
|
||||
}
|
||||
else $msg .= "$headline" . PHP_EOL;
|
||||
else {
|
||||
$msg .= "$headline" . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
$longestKey = 0;
|
||||
foreach ($toFormat as $key => $value) {
|
||||
if (\strlen((string)$key) + (4 * $level) > $longestKey) $longestKey = \strlen((string)$key) + (4 * $level);
|
||||
if (\strlen((string)$key) + (4 * $level) > $longestKey) {
|
||||
$longestKey = \strlen((string)$key) + (4 * $level);
|
||||
}
|
||||
}
|
||||
foreach ($toFormat as $key => $value) {
|
||||
if (\is_array($value)) {
|
||||
@ -184,7 +188,9 @@ final class MDErrorReporter {
|
||||
if (session_status() === PHP_SESSION_ACTIVE) {
|
||||
$msg .= $this->_formulateDebugMailSection("The current content of \$_SESSION", $_SESSION);
|
||||
}
|
||||
else $msg .= "No active session";
|
||||
else {
|
||||
$msg .= "No active session";
|
||||
}
|
||||
|
||||
$msg .= $this->_formulateDebugMailSection("Additional debugging information",
|
||||
$this->getAdditionalDebuggingInfo());
|
||||
|
Loading…
Reference in New Issue
Block a user