facebook/facebook-php-sdk-v4 — pull request #33 by bartekn (2014-05-05 19:41:27+00:00)
Title: Checking for malformed signed request

In `FacebookSession.php` file, `private static function parseSignedRequest($signedRequest, $state)` method is missing `else` clause for `if` statement:
```php
if (strpos($signedRequest, '.') !== false) {
```
It can result in sending requests to Graph API without access token because `parseSignedRequest` method will return `null` (because the `return` keyword is omitted) when malformed signed request is passed.

Added `else` statement.