Skip to content

Commit

Permalink
Merge pull request #14 from Mane-Olawale/doc-blocks
Browse files Browse the repository at this point in the history
chore: add doc-block to facade
  • Loading branch information
Mane-Olawale authored Jul 1, 2022
2 parents ad78f3b + be774d7 commit c5d552e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/Facades/Termii.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
use ManeOlawale\Laravel\Termii\Termii as TermiiClass;
use Illuminate\Support\Facades\Facade;

/**
* @method self usingClient(\ManeOlawale\Termii\Client $client)
* @method \ManeOlawale\Termii\Client client()
* @method \ManeOlawale\Laravel\Termii\Entities\Token OTP(string $key, string $signature = null)
* @method \GuzzleHttp\Psr7\Response fallbackResponse(\GuzzleHttp\Psr7\Response $response = null)
* @method self mock(string $alias, \ManeOlawale\Laravel\Termii\Testing\Sequence $sequence = null)
* @method \ManeOlawale\Laravel\Termii\Testing\TermiiFake fake(array $fakes = null)
* @method array send(string $to, string $message, string $from = null, string $channel = null)
*/
class Termii extends Facade
{
/**
Expand Down
3 changes: 2 additions & 1 deletion src/Termii.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function send(string $to, string $message, string $from = null, string $c
* Switch termii to test mode
*
* @param array
* @return \ManeOlawale\Laravel\Termii\Testing\TermiiFake
*/
public function fake(array $fakes = null)
{
Expand All @@ -115,7 +116,7 @@ public function fake(array $fakes = null)
*
* @param string $alias
* @param \ManeOlawale\Laravel\Termii\Testing\Sequence $sequence
* @return void
* @return self
*/
public function mock(string $alias, Sequence $sequence = null)
{
Expand Down

0 comments on commit c5d552e

Please sign in to comment.