Remove superfluous duplicate final keywords

This commit is contained in:
Joshua Ramon Enslin 2021-05-14 00:07:45 +02:00
parent 8836765336
commit 0abcc8b866
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -35,7 +35,7 @@ final class MDOutputHandler {
* *
* @return string * @return string
*/ */
final private function _human_filesize(int $bytes, int $decimals = 2):string { private function _human_filesize(int $bytes, int $decimals = 2):string {
$size = ['B','kB','MB','GB','TB','PB','EB','ZB','YB']; $size = ['B','kB','MB','GB','TB','PB','EB','ZB','YB'];
$factor = floor((strlen((string)$bytes) - 1) / 3); $factor = floor((strlen((string)$bytes) - 1) / 3);
@ -50,7 +50,7 @@ final class MDOutputHandler {
* *
* @return void * @return void
*/ */
final public function setVerbosity(int $input = 0):void { public function setVerbosity(int $input = 0):void {
$this->_verbosity = $input; $this->_verbosity = $input;
@ -63,7 +63,7 @@ final class MDOutputHandler {
* *
* @return void * @return void
*/ */
final public function setContext(string $input = ""):void { public function setContext(string $input = ""):void {
$this->_context = $input; $this->_context = $input;
@ -76,7 +76,7 @@ final class MDOutputHandler {
* *
* @return void * @return void
*/ */
final public function setFileLogging(bool $input = false):void { public function setFileLogging(bool $input = false):void {
$this->_file_logging = $input; $this->_file_logging = $input;
@ -100,7 +100,7 @@ final class MDOutputHandler {
* *
* @return void * @return void
*/ */
final public function toLog(string $msg, int $statusCode = 0):void { public function toLog(string $msg, int $statusCode = 0):void {
// Get parts for generating the message to log. // Get parts for generating the message to log.
++$this->_counter; // Increment counter ++$this->_counter; // Increment counter