Skip to content

Commit

Permalink
Apply fixes from StyleCI (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Sep 19, 2017
1 parent 72e0a00 commit 7087eba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/FacebookDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ protected function loadMessages()
if (isset($msg['message']['nlp'])) {
$message->addExtras('nlp', $msg['message']['nlp']);
}

return $message;
} elseif (isset($msg['postback']['payload'])) {
$this->isPostback = true;
Expand Down
2 changes: 1 addition & 1 deletion tests/FacebookDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function it_adds_nlp_data_to_the_message()
$message = $driver->getMessages()[0];

$extras = $message->getExtras('nlp');

$this->assertFalse(is_null($extras));
$this->assertSame('true', $extras['entities']['bye'][0]['value']);
}
Expand Down

0 comments on commit 7087eba

Please sign in to comment.