Skip to content

Commit

Permalink
Merge pull request #156 from derekmd/update-docblock
Browse files Browse the repository at this point in the history
Update docblock for twilio/sdk 5.*
  • Loading branch information
hannesvdvreken authored Aug 24, 2018
2 parents 3086023 + 67ee975 commit a988aaf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Dummy.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Dummy implements TwilioInterface
* @param string $to
* @param string $message
*
* @return \Services_Twilio_Rest_Call|void
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance|void
*/
public function message($to, $message)
{
Expand All @@ -17,7 +17,7 @@ public function message($to, $message)
* @param string $to
* @param string|callable $message
*
* @return \Services_Twilio_Rest_Call|void
* @return \Twilio\Rest\Api\V2010\Account\CallInstance|void
*/
public function call($to, $message)
{
Expand Down
4 changes: 2 additions & 2 deletions src/LoggingDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct(LoggerInterface $logger, TwilioInterface $wrapped)
* @param string $to
* @param string $message
*
* @return \Services_Twilio_Rest_Message
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
*/
public function message($to, $message)
{
Expand All @@ -42,7 +42,7 @@ public function message($to, $message)
* @param string $to
* @param string|callable $message
*
* @return \Services_Twilio_Rest_Call
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
*/
public function call($to, $message)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function from($connection)
* @param string $to
* @param string $message
*
* @return \Services_Twilio_Rest_Message
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
*/
public function message($to, $message)
{
Expand All @@ -56,7 +56,7 @@ public function message($to, $message)
* @param string $to
* @param string|callable $message
*
* @return \Services_Twilio_Rest_Call
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
*/
public function call($to, $message)
{
Expand Down
1 change: 1 addition & 0 deletions src/Twilio.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function message($to, $message, $mediaUrls = null, array $params = [])
/**
* @param string $to
* @param string|callable $message
* @param array $params
*
* @link https://www.twilio.com/docs/api/voice/making-calls Documentation
*
Expand Down
4 changes: 2 additions & 2 deletions src/TwilioInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ interface TwilioInterface
* @param string $to
* @param string $message
*
* @return \Services_Twilio_Rest_Message
* @return \Twilio\Rest\Api\V2010\Account\MessageInstance
*/
public function message($to, $message);

/**
* @param string $to
* @param string|callable $message
*
* @return \Services_Twilio_Rest_Call
* @return \Twilio\Rest\Api\V2010\Account\CallInstance
*/
public function call($to, $message);
}
1 change: 0 additions & 1 deletion tests/TwilioCallCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
namespace Aloha\Twilio\Tests;

use Aloha\Twilio\Commands\TwilioCallCommand;
use Aloha\Twilio\Twilio;
use PHPUnit_Framework_TestCase;

class TwilioCallCommandTest extends PHPUnit_Framework_TestCase
Expand Down

0 comments on commit a988aaf

Please sign in to comment.