fixed typo
documented return values
fixed typo
removed unused local variable
fixed typo
fixed typo
corrected type name in doc block
improved documented return types
fixed typo
renamed magic property to avoid name clash with protected attribute
added tests
accessed attribute instead of magic property