Remove superfluous duplicate final keywords
This commit is contained in:
parent
8836765336
commit
0abcc8b866
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user