Skip to content

Add native typed properties and remove redundant declarations#277

Open
Rafikooo wants to merge 1 commit intoSylius:2.2from
Rafikooo:modernize/typed-properties
Open

Add native typed properties and remove redundant declarations#277
Rafikooo wants to merge 1 commit intoSylius:2.2from
Rafikooo:modernize/typed-properties

Conversation

@Rafikooo
Copy link
Contributor

@Rafikooo Rafikooo commented Jan 13, 2026

  • Add native mixed type to untyped properties (Email::$id, EmailSendEvent::$message) and their return types
  • Remove redundant constructor in EmailDefaultAdapter (dispatcher is already set via AbstractAdapter::setEventDispatcher())
  • Remove PHPDoc annotations replaced by native types
  • Remove obsolete PHPStan ignored error for $id property

@Rafikooo Rafikooo force-pushed the modernize/typed-properties branch 2 times, most recently from 373fee1 to 3848c81 Compare January 29, 2026 15:28
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

Successfully merging this pull request may close these issues.

1 participant