php-trello-api icon indicating copy to clipboard operation
php-trello-api copied to clipboard

Typos in Checklist model

Open ilkka-rautiainen opened this issue 9 years ago • 1 comments

The array keys should be 'pos' and not 'position'.

https://github.com/cdaguerre/php-trello-api/blob/b1205d9ac9b24df03c2db5aa9a8c7418d28c0b78/lib/Trello/Model/Checklist.php#L205

https://github.com/cdaguerre/php-trello-api/blob/b1205d9ac9b24df03c2db5aa9a8c7418d28c0b78/lib/Trello/Model/Checklist.php#L211

These make item position setting not work.

ilkka-rautiainen avatar Jan 29 '16 15:01 ilkka-rautiainen

@ilkka-rautiainen thanks for reporting! Could you make a pr?

cdaguerre avatar Jan 29 '16 17:01 cdaguerre