OzzyCzech / icalparser

Simple ical parser for PHP
https://ozana.cz
BSD 3-Clause "New" or "Revised" License
59 stars 22 forks source link

gettimezones misnamed function #41

Closed jfinstrom closed 5 years ago

jfinstrom commented 5 years ago

The function that is called is gettimezone but the function name is gettimezones

Rotzbua commented 5 years ago

getTimezone and return value array is misleading

jfinstrom commented 5 years ago

getTimezone and return value array is misleading

I am not sure what you mean. The forward function always returns an array per the docblock

Rotzbua commented 5 years ago

I am not sure what you mean. The forward function always returns an array per the docblock

grammar

getTimezone = exactly 1 => single element => int, string getTimezones = more than 1 => multiple element => array