Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiven committed May 12, 2024
1 parent 7857d74 commit 2395e80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/AxisAlignedBB.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ public function calculateIntercept(Vector3 $pos1, Vector3 $pos2) : ?RayTraceResu

$vector = null;
$distance = PHP_INT_MAX;
/** @var Facing $face */
$face = null;

foreach([
Expand Down
2 changes: 1 addition & 1 deletion src/Vector3.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function sides(int $step = 1) : \Generator{
/**
* Same as sides() but returns a pre-populated array instead of Generator.
*
* @return array{Facing, Vector3}
* @return array<int, array{Facing,Vector3}>
*/
public function sidesArray(bool $keys = false, int $step = 1) : array{
return iterator_to_array($this->sides($step), $keys);
Expand Down

0 comments on commit 2395e80

Please sign in to comment.