Event JSON
{
"id": "9e7a2244be9d7cc06406cc05d4c5c366b5e3b5cba174128b2b3bc855c4dd2c0b",
"pubkey": "1b2a9070657a0d18f7ae4f3d834dc167d22d8ad1d9f72c924c324210a0eea975",
"created_at": 1731406133,
"kind": 1,
"tags": [
[
"p",
"8bbd5ecb9b595c67d1e402874be8622d007deda05b1654fe392f1e95711abacb",
"wss://relay.mostr.pub"
],
[
"p",
"e8201addc43dd2260f2fa3afd98a4568bd3ef7256f7173f7d444f6770340d26a",
"wss://relay.mostr.pub"
],
[
"e",
"ea701bf25569dd45fc1354c05f801682847e9750014b2dee55b914758d109395",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://phpc.social/users/chrastecky/statuses/113469432337612499",
"activitypub"
]
],
"content": "nostr:npub13w74ajumt9wx050yq2r5h6rz95q8mmdqtvt9fl3e9u0f2ug6ht9srvmktw There are valid cases to return null. Like saying that this collection does not exist, which is different from being empty. If you want to do a foreach, you can do:\n\nforeach (($obj-\u003epotentiallyNullCollection() ?? []) as $item) {\n\n}",
"sig": "8723c608cbcd5068ccc42a5c875641452ff3bae9fcdb3fd8aae64bb9a73f220fcfb974208205e7692ac7189dfdd9b0e3aea767fa93d3355794998b1e85f7c060"
}