facebook/facebook-php-sdk-v4 — pull request #123 by Ashpants (2014-06-16 22:17:22+00:00)
Title: Type hinting generates better error messages when an invalid session is ...

...supplied

Otherwise if a different object or null is supplied, the Facebook request constructor throws an undefined index on the session object.