mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
strip extra blank lines (php-cs-fixer)
This commit is contained in:
@@ -104,7 +104,6 @@ final class Process{
|
||||
return [$heap, $stack];
|
||||
}
|
||||
|
||||
|
||||
public static function getThreadCount() : int{
|
||||
if(Utils::getOS() === "linux" or Utils::getOS() === "android"){
|
||||
if(preg_match("/Threads:[ \t]+([0-9]+)/", file_get_contents("/proc/self/status"), $matches) > 0){
|
||||
|
@@ -177,7 +177,6 @@ abstract class Timezone{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $offset In the format of +09:00, +02:00, -04:00 etc.
|
||||
*
|
||||
|
@@ -303,7 +303,6 @@ class Utils{
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns a string that can be printed, replaces non-printable characters
|
||||
*
|
||||
@@ -348,7 +347,6 @@ class Utils{
|
||||
return $hash;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array of claims
|
||||
*
|
||||
|
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\utils;
|
||||
|
||||
|
||||
use function count;
|
||||
use function preg_match;
|
||||
|
||||
|
Reference in New Issue
Block a user