Skip to content

Commit

Permalink
Merge branch 'enum' of https://github.com/Dhaiven/Math into enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiven committed Nov 21, 2023
2 parents d5ad9ac + ac69813 commit 426223d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Axis.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@

namespace pocketmine\math;

enum Axis: int{
case Y = 0;
case Z = 1;
case X = 2;
enum Axis{
case Y;
case Z;
case X;

/**
* @deprecated use Axis->name
Expand Down

0 comments on commit 426223d

Please sign in to comment.