Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Conversation

@bnchdrff
Copy link

@bnchdrff bnchdrff commented Jun 2, 2015

No description provided.

@tobyzerner
Copy link
Owner

How could attributes be an object?

@bnchdrff
Copy link
Author

bnchdrff commented Jun 3, 2015

i've been storing attributes as an object this whole time --- maybe the solution here is to typehint the intended return value of SerializerAbstract::attributes as array?

@tobyzerner
Copy link
Owner

Yeah, SerializerAbstract::attributes is meant to return an array. (Not that I can blame you for that, the source code/documentation is a mess at the moment!)

@tobyzerner tobyzerner closed this Jun 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants