mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Fix some PSR-2 violations
This commit is contained in:
@ -32,7 +32,7 @@ class ChunkUtils{
|
||||
*
|
||||
* @return string length 4096
|
||||
*/
|
||||
public static final function reorderByteArray(string $array) : string{
|
||||
final public static function reorderByteArray(string $array) : string{
|
||||
$result = str_repeat("\x00", 4096);
|
||||
if($array !== $result){
|
||||
$i = 0;
|
||||
@ -59,7 +59,7 @@ class ChunkUtils{
|
||||
*
|
||||
* @return string length 2048
|
||||
*/
|
||||
public static final function reorderNibbleArray(string $array, string $commonValue = "\x00") : string{
|
||||
final public static function reorderNibbleArray(string $array, string $commonValue = "\x00") : string{
|
||||
$result = str_repeat($commonValue, 2048);
|
||||
|
||||
if($array !== $result){
|
||||
|
Reference in New Issue
Block a user