You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new code usually uses (readonly) $this->property, the old code prefer $this->getProperty(). Only one style should be used. And the winner is $this->getProperty() (because it can be mocked)protected readonly $property.
The text was updated successfully, but these errors were encountered:
The new code usually uses (readonly)
$this->property
, the old code prefer$this->getProperty()
. Only one style should be used. And the winner is$this->getProperty()
(because it can be mocked)protected readonly $property
.The text was updated successfully, but these errors were encountered: