@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @throws \JsonException |
59 | 59 | */ |
60 | 60 | public function Today(int $pageSize = 10, int $pageNumber = 1): ReportResponse { |
61 | - $response = $this->smsir->get('/v1/send/live',[ |
|
61 | + $response = $this->smsir->get('/v1/send/live', [ |
|
62 | 62 | 'pageSize' => $pageSize, |
63 | 63 | 'pageNumber' => $pageNumber, |
64 | 64 | ]); |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * @throws HttpException |
78 | 78 | */ |
79 | 79 | public function Archived(int $fromDate = null, int $toDate = null, int $pageSize = 10, int $pageNumber = 1): ReportResponse { |
80 | - $response = $this->smsir->get('/v1/send/archive',[ |
|
80 | + $response = $this->smsir->get('/v1/send/archive', [ |
|
81 | 81 | 'fromDate' => $fromDate, |
82 | 82 | 'toDate' => $toDate, |
83 | 83 | 'pageSize' => $pageSize, |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * @throws \JsonException |
97 | 97 | */ |
98 | 98 | public function LatestReceived(int $count = 100): ReceiveResponse { |
99 | - $response = $this->smsir->get('/v1/send/receive/latest',[ |
|
99 | + $response = $this->smsir->get('/v1/send/receive/latest', [ |
|
100 | 100 | 'count' => $count |
101 | 101 | ]); |
102 | 102 | return new ReceiveResponse($response); |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * @throws \JsonException |
114 | 114 | */ |
115 | 115 | public function TodayReceived(int $pageSize = 10, int $pageNumber = 1): ReceiveResponse { |
116 | - $response = $this->smsir->get('/v1/send/receive/live',[ |
|
116 | + $response = $this->smsir->get('/v1/send/receive/live', [ |
|
117 | 117 | 'pageSize' => $pageSize, |
118 | 118 | 'pageNumber' => $pageNumber |
119 | 119 | ]); |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @throws \JsonException |
134 | 134 | */ |
135 | 135 | public function ArchivedReceived(int $fromDate = null, int $toDate = null, int $pageSize = 10, int $pageNumber = 1): ReceiveResponse { |
136 | - $response = $this->smsir->get('/v1/send/archive',[ |
|
136 | + $response = $this->smsir->get('/v1/send/archive', [ |
|
137 | 137 | 'fromDate' => $fromDate, |
138 | 138 | 'toDate' => $toDate, |
139 | 139 | 'pageSize' => $pageSize, |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'smsir'); |
55 | 55 | |
56 | 56 | // Register the main class to use with the facade |
57 | - $this->app->singleton('Smsir', function () { |
|
57 | + $this->app->singleton('Smsir', function() { |
|
58 | 58 | return new Smsir(); |
59 | 59 | }); |
60 | 60 | } |
@@ -13,16 +13,16 @@ |
||
13 | 13 | // you can change default route from sms-admin to anything you want |
14 | 14 | 'route' => 'sms-admin', |
15 | 15 | // SMS.ir Api Key |
16 | - 'api-key' => env('SMSIR_API_KEY','Your api key'), |
|
16 | + 'api-key' => env('SMSIR_API_KEY', 'Your api key'), |
|
17 | 17 | // Your sms.ir line number |
18 | - 'line-number' => env('SMSIR_LINE_NUMBER','Your Sms.ir Line Number'), |
|
18 | + 'line-number' => env('SMSIR_LINE_NUMBER', 'Your Sms.ir Line Number'), |
|
19 | 19 | // ====================================================================== |
20 | 20 | // set true if you want log to the database |
21 | - 'db-log' => env('SMSIR_DB_LOG',false), |
|
21 | + 'db-log' => env('SMSIR_DB_LOG', false), |
|
22 | 22 | // if you don't want to include admin panel routes set this to false |
23 | - 'panel-routes' => env('SMSIR_PANEL_ROUTES',true), |
|
23 | + 'panel-routes' => env('SMSIR_PANEL_ROUTES', true), |
|
24 | 24 | /* Admin Panel Title */ |
25 | 25 | 'title' => 'مدیریت پیامک ها', |
26 | 26 | // How many log you want to show in sms-admin panel ? |
27 | - 'in-page' => env('SMSIR_PANEL_IN_PAGE',true) |
|
27 | + 'in-page' => env('SMSIR_PANEL_IN_PAGE', true) |
|
28 | 28 | ]; |