Matthew Weier O'Phinney on Nostr: Achievement unlocked: finally contributed something to the PHP manual: a note about ...
Achievement unlocked: finally contributed something to the PHP manual: a note about how the "set" property hook's types are ignored in favor of the property type when used in combination with constructor property promotion.
{
"id":"d50e24d8f40f8f31fe40dd3c838f74369058037524937b646fa80ddf0fd74c1f",
"pubkey":"292b1cf4982ab01cf8dc9f0485707beeccd921e7139cb56a9b04bef75a83246b",
"created_at":1734452279,
"kind":1,
"tags": [
[
"t",
"php"
],
[
"imeta",
"url https://media.phpc.social/media_attachments/files/113/669/064/381/014/134/original/572b2f963a9ff15b.png",
"m image/png",
"dim 1041x1049",
"blurhash UCSF;LIURPxu%MWBj[of00ofofWB-;WBayj["
],
[
"proxy",
"https://phpc.social/users/mwop/statuses/113669064564088248",
"activitypub"
]
],
"content":"Achievement unlocked: finally contributed something to the PHP manual: a note about how the \"set\" property hook's types are ignored in favor of the property type when used in combination with constructor property promotion.\n\nhttps://www.php.net/manual/en/language.oop5.property-hooks.php\n\n#php\n\nhttps://media.phpc.social/media_attachments/files/113/669/064/381/014/134/original/572b2f963a9ff15b.png",
"sig":"16f8df2cbce4d6235aacb05393f1cd62fd30cf08ac998e403726e5513ba1be90c22c4ff8e181280c4636b8de39845c6ef4e8056e68a89779ed98975101dbe9a6"
}