Skip to content

Commit 8885e13

Browse files
Merge pull request #64 from elliotlings/hotfix/fix-returns
Fixed return on message and call method on Manager.
2 parents fd84ef6 + a8987ea commit 8885e13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function from($connection)
5757
*/
5858
public function message($to, $message, $from = null)
5959
{
60-
$this->defaultConnection()->message($to, $message, $from);
60+
return $this->defaultConnection()->message($to, $message, $from);
6161
}
6262

6363
/**
@@ -70,7 +70,7 @@ public function message($to, $message, $from = null)
7070
*/
7171
public function call($to, $message, array $options = array(), $from = null)
7272
{
73-
$this->defaultConnection()->call($to, $message, $options, $from);
73+
return $this->defaultConnection()->call($to, $message, $options, $from);
7474
}
7575

7676
/**

0 commit comments

Comments
 (0)