Skip to content

Commit a988aaf

Browse files
Merge pull request #156 from derekmd/update-docblock
Update docblock for twilio/sdk 5.*
2 parents 3086023 + 67ee975 commit a988aaf

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/Dummy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Dummy implements TwilioInterface
77
* @param string $to
88
* @param string $message
99
*
10-
* @return \Services_Twilio_Rest_Call|void
10+
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance|void
1111
*/
1212
public function message($to, $message)
1313
{
@@ -17,7 +17,7 @@ public function message($to, $message)
1717
* @param string $to
1818
* @param string|callable $message
1919
*
20-
* @return \Services_Twilio_Rest_Call|void
20+
* @return \Twilio\Rest\Api\V2010\Account\CallInstance|void
2121
*/
2222
public function call($to, $message)
2323
{

src/LoggingDecorator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(LoggerInterface $logger, TwilioInterface $wrapped)
2929
* @param string $to
3030
* @param string $message
3131
*
32-
* @return \Services_Twilio_Rest_Message
32+
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
3333
*/
3434
public function message($to, $message)
3535
{
@@ -42,7 +42,7 @@ public function message($to, $message)
4242
* @param string $to
4343
* @param string|callable $message
4444
*
45-
* @return \Services_Twilio_Rest_Call
45+
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
4646
*/
4747
public function call($to, $message)
4848
{

src/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function from($connection)
4545
* @param string $to
4646
* @param string $message
4747
*
48-
* @return \Services_Twilio_Rest_Message
48+
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
4949
*/
5050
public function message($to, $message)
5151
{
@@ -56,7 +56,7 @@ public function message($to, $message)
5656
* @param string $to
5757
* @param string|callable $message
5858
*
59-
* @return \Services_Twilio_Rest_Call
59+
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
6060
*/
6161
public function call($to, $message)
6262
{

src/Twilio.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function message($to, $message, $mediaUrls = null, array $params = [])
7373
/**
7474
* @param string $to
7575
* @param string|callable $message
76+
* @param array $params
7677
*
7778
* @link https://www.twilio.com/docs/api/voice/making-calls Documentation
7879
*

src/TwilioInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ interface TwilioInterface
77
* @param string $to
88
* @param string $message
99
*
10-
* @return \Services_Twilio_Rest_Message
10+
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
1111
*/
1212
public function message($to, $message);
1313

1414
/**
1515
* @param string $to
1616
* @param string|callable $message
1717
*
18-
* @return \Services_Twilio_Rest_Call
18+
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
1919
*/
2020
public function call($to, $message);
2121
}

tests/TwilioCallCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
namespace Aloha\Twilio\Tests;
33

44
use Aloha\Twilio\Commands\TwilioCallCommand;
5-
use Aloha\Twilio\Twilio;
65
use PHPUnit_Framework_TestCase;
76

87
class TwilioCallCommandTest extends PHPUnit_Framework_TestCase

0 commit comments

Comments
 (0)