Skip to content

Commit

Permalink
fix: phpstan test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AzaleeX committed Nov 3, 2024
1 parent 316156f commit 5925f53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/item/StringToItemParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ private static function registerBlocks(self $result) : void{
$result->registerBlock("crimson_fence", fn() => Blocks::CRIMSON_FENCE());
$result->registerBlock("crimson_fence_gate", fn() => Blocks::CRIMSON_FENCE_GATE());
$result->registerBlock("crimson_hyphae", fn() => Blocks::CRIMSON_HYPHAE()->setStripped(false));
$result->registerBlock("crimson_nylium", fn() => Blocks::CRIMSON_NYLIUM());
$result->registerBlock("crimson_planks", fn() => Blocks::CRIMSON_PLANKS());
$result->registerBlock("crimson_pressure_plate", fn() => Blocks::CRIMSON_PRESSURE_PLATE());
$result->registerBlock("crimson_roots", fn() => Blocks::CRIMSON_ROOTS());
Expand Down Expand Up @@ -1136,6 +1137,7 @@ private static function registerBlocks(self $result) : void{
$result->registerBlock("warped_fence", fn() => Blocks::WARPED_FENCE());
$result->registerBlock("warped_fence_gate", fn() => Blocks::WARPED_FENCE_GATE());
$result->registerBlock("warped_hyphae", fn() => Blocks::WARPED_HYPHAE()->setStripped(false));
$result->registerBlock("warped_nylium", fn() => Blocks::WARPED_NYLIUM());
$result->registerBlock("warped_planks", fn() => Blocks::WARPED_PLANKS());
$result->registerBlock("warped_pressure_plate", fn() => Blocks::WARPED_PRESSURE_PLATE());
$result->registerBlock("warped_roots", fn() => Blocks::WARPED_ROOTS());
Expand Down
2 changes: 2 additions & 0 deletions tests/phpunit/block/block_factory_consistency_check.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"CRIMSON_FENCE": 1,
"CRIMSON_FENCE_GATE": 16,
"CRIMSON_HYPHAE": 6,
"CRIMSON_NYLIUM": 1,
"CRIMSON_PLANKS": 1,
"CRIMSON_PRESSURE_PLATE": 2,
"CRIMSON_ROOTS": 1,
Expand Down Expand Up @@ -690,6 +691,7 @@
"WARPED_FENCE": 1,
"WARPED_FENCE_GATE": 16,
"WARPED_HYPHAE": 6,
"WARPED_NYLIUM": 1,
"WARPED_PLANKS": 1,
"WARPED_PRESSURE_PLATE": 2,
"WARPED_ROOTS": 1,
Expand Down

0 comments on commit 5925f53

Please sign in to comment.