Remove unused variable assignments
This commit is contained in:
38 files changed
+42
-83
No files matched your search
+2
-5
@@ -107,9 +107,8 @@ private function _formulateDebugMailSection(string $headline, array $toFormat, i
|
||||
$msg .= \sprintf("%-{$longestKey}s :: %s", $key, (string)$value) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
$msg .= PHP_EOL;
|
||||
|
||||
return $msg;
|
||||
return $msg . PHP_EOL;
|
||||
|
||||
}
|
||||
|
||||
@@ -120,15 +119,13 @@ private function _formulateDebugMailSection(string $headline, array $toFormat, i
|
||||
*/
|
||||
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