Proposed resolution

  • Add type hints to all class properties.
  • Add return type hints to all methods.
  • Use readonly properties for services injected via the constructor.

Remaining tasks

Update all classes (Helper, Normalizers, EventSubscribers, REST Resources) with modern PHP type hints.

Issue fork myrest-3582793

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergeydruua created an issue. See original summary.

sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)