mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 03:35:33 +00:00
Merge branch 'stable'
This commit is contained in:
commit
347b94b284
@ -60,14 +60,26 @@ use function min;
|
|||||||
* Manages block registration and instance creation
|
* Manages block registration and instance creation
|
||||||
*/
|
*/
|
||||||
class BlockFactory{
|
class BlockFactory{
|
||||||
/** @var \SplFixedArray|Block[] */
|
/**
|
||||||
|
* @var \SplFixedArray|Block[]
|
||||||
|
* @phpstan-var \SplFixedArray<Block>
|
||||||
|
*/
|
||||||
private static $fullList;
|
private static $fullList;
|
||||||
|
|
||||||
/** @var \SplFixedArray|int[] */
|
/**
|
||||||
|
* @var \SplFixedArray|int[]
|
||||||
|
* @phpstan-var \SplFixedArray<int>
|
||||||
|
*/
|
||||||
public static $lightFilter;
|
public static $lightFilter;
|
||||||
/** @var \SplFixedArray|bool[] */
|
/**
|
||||||
|
* @var \SplFixedArray|bool[]
|
||||||
|
* @phpstan-var \SplFixedArray<bool>
|
||||||
|
*/
|
||||||
public static $diffusesSkyLight;
|
public static $diffusesSkyLight;
|
||||||
/** @var \SplFixedArray|float[] */
|
/**
|
||||||
|
* @var \SplFixedArray|float[]
|
||||||
|
* @phpstan-var \SplFixedArray<float>
|
||||||
|
*/
|
||||||
public static $blastResistance;
|
public static $blastResistance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -17,6 +17,11 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/plugin/PluginBase.php
|
path: ../../../src/plugin/PluginBase.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\event\\\\Event\\> and 'pocketmine\\\\\\\\event…' will always evaluate to true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/plugin/PluginManager.php
|
||||||
|
|
||||||
-
|
-
|
||||||
#::add() / ::remove() thread parameter
|
#::add() / ::remove() thread parameter
|
||||||
message: "#^If condition is always true\\.$#"
|
message: "#^If condition is always true\\.$#"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user