Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combat not working PHP 8 fix #570

Open
OceanicNomad opened this issue Aug 16, 2023 · 1 comment
Open

Combat not working PHP 8 fix #570

OceanicNomad opened this issue Aug 16, 2023 · 1 comment

Comments

@OceanicNomad
Copy link

Instead of dynamically creating the fighters property as in previous versions of PHP, we need to explicitly declare it at the beginning of the class.

$this->fighters = $shipType->cloneMe();

Add private $fighters; below

@jonamix-ar
Copy link

[FIX] #595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants