Skip to content

Commit

Permalink
Modification
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiven committed Nov 27, 2023
1 parent bca40e8 commit 5d66326
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Axis.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ enum Axis{
* Returns a human-readable string representation of the given axis.
*/
public static function toString(Axis $axis) : string{

Check failure on line 35 in src/Axis.php

View workflow job for this annotation

GitHub Actions / PHP 8.0

Syntax error, unexpected T_VARIABLE, expecting ')' on line 35
return match($axis){
Axis::Y => "y",
Axis::Z => "z",
Axis::X => "x",
};
return strtolower($axis->name);
}

Check failure on line 37 in src/Axis.php

View workflow job for this annotation

GitHub Actions / PHP 8.0

Syntax error, unexpected '}', expecting EOF on line 37
}

0 comments on commit 5d66326

Please sign in to comment.