Remove unused variable assignments
This commit is contained in:
@ -107,9 +107,8 @@ final class MDErrorReporter {
|
||||
$msg .= \sprintf("%-{$longestKey}s :: %s", $key, (string)$value) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
$msg .= PHP_EOL;
|
||||
|
||||
return $msg;
|
||||
return $msg . PHP_EOL;
|
||||
|
||||
}
|
||||
|
||||
@ -120,15 +119,13 @@ final class MDErrorReporter {
|
||||
*/
|
||||
public function getAdditionalDebuggingInfo():array {
|
||||
|
||||
$output = [
|
||||
return [
|
||||
"Current memory usage" => $this->human_filesize(\memory_get_usage()),
|
||||
"Peak memory usage" => $this->human_filesize(\memory_get_peak_usage()),
|
||||
"Included / required files" => \get_included_files(),
|
||||
# "Allowed memory usage" => $this->human_filesize((int)ini_get("memory_limit")),
|
||||
];
|
||||
|
||||
return $output;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user