I forgot to add 7 characters to the function definition. Line 1085 in phpFlickr.php should be changed from:
function photosets_getPhotos($photoset_id, $extras)
to:
function photosets_getPhotos($photoset_id, $extras = NULL)
Sorry for the inconvenience.