@@ -43,7 +43,7 @@ |
||
43 | 43 | * Add an option. |
44 | 44 | * |
45 | 45 | * @param string $key |
46 | - * @param mixed $value |
|
46 | + * @param string|false $value |
|
47 | 47 | * @return $this |
48 | 48 | */ |
49 | 49 | public function addOption($key, $value) |
@@ -71,6 +71,7 @@ |
||
71 | 71 | * Create the CurlClient client. |
72 | 72 | * |
73 | 73 | * @param void |
74 | + * @param string $message |
|
74 | 75 | * @return CurlClient |
75 | 76 | */ |
76 | 77 | protected function newClient($message) |
@@ -42,8 +42,7 @@ |
||
42 | 42 | 'user', |
43 | 43 | 'pass', |
44 | 44 | ]); |
45 | - } |
|
46 | - else |
|
45 | + } else |
|
47 | 46 | { |
48 | 47 | $this->loadCredentialsFromConfig(); |
49 | 48 | } |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Akibatech\FreeMobileSms\Notifications; |
4 | 4 | |
5 | 5 | use Akibatech\FreeMobileSms\FreeMobileSms; |
6 | -use Akibatech\FreeMobileSms\Notifications\FreeMobileMessage; |
|
7 | 6 | use Illuminate\Notifications\Notification; |
8 | 7 | |
9 | 8 | /** |
@@ -34,7 +34,6 @@ |
||
34 | 34 | /** |
35 | 35 | * Set the message content. |
36 | 36 | * |
37 | - * @param string $content |
|
38 | 37 | * @return self |
39 | 38 | */ |
40 | 39 | public function message($message) |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | $this->app->bind(FreeMobileSms::class, FreeMobileSms::class); |
38 | 38 | |
39 | - $this->app->singleton('freemobile', function ($app) |
|
39 | + $this->app->singleton('freemobile', function($app) |
|
40 | 40 | { |
41 | 41 | return new FreeMobileSms(); |
42 | 42 | }); |