@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function up(): void |
17 | 17 | { |
18 | - Schema::create(SmsReport::TABLE, function (Blueprint $table) { |
|
18 | + Schema::create(SmsReport::TABLE, function(Blueprint $table) { |
|
19 | 19 | $table->integerIncrements('id'); |
20 | 20 | $table->string('mobile')->nullable(); |
21 | 21 | $table->string('message', 510)->nullable(); |
@@ -40,13 +40,13 @@ |
||
40 | 40 | $this->app->singleton('sms', SmsManager::class); |
41 | 41 | $this->app->singleton('voiceCall', VoiceCallManager::class); |
42 | 42 | |
43 | - $this->app->bind(FakeSmsSender::class, function () { |
|
43 | + $this->app->bind(FakeSmsSender::class, function() { |
|
44 | 44 | $config = config('sms.drivers.fake') ?? []; |
45 | 45 | |
46 | 46 | return new FakeSmsSender($config); |
47 | 47 | }); |
48 | 48 | |
49 | - $this->app->bind(Kavenegar::class, function () { |
|
49 | + $this->app->bind(Kavenegar::class, function() { |
|
50 | 50 | $config = config('sms.drivers.kavenegar') ?? []; |
51 | 51 | $kavenegarApi = new KavenegarApi($config['apiKey']); |
52 | 52 |
@@ -14,6 +14,6 @@ |
||
14 | 14 | use HoomanMirghasemi\Sms\Http\Controllers\SmsController; |
15 | 15 | use Illuminate\Support\Facades\Route; |
16 | 16 | |
17 | -Route::prefix('laravel/sms')->group(function () { |
|
17 | +Route::prefix('laravel/sms')->group(function() { |
|
18 | 18 | Route::get('get-sms-list', [SmsController::class, 'getList'])->name('sms.getList'); |
19 | 19 | }); |
@@ -78,7 +78,7 @@ |
||
78 | 78 | 'login' => data_get($this->settings, 'username').'/'.data_get($this->settings, 'domain'), |
79 | 79 | 'password' => data_get($this->settings, 'password'), |
80 | 80 | 'cache_wsdl' => WSDL_CACHE_NONE, // -No WSDL Cache |
81 | - 'compression' => (SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | 5), // -Compression * |
|
81 | + 'compression' => (SOAP_COMPRESSION_ACCEPT|SOAP_COMPRESSION_GZIP|5), // -Compression * |
|
82 | 82 | 'trace' => App::environment(['local', 'staging', 'testing']), // -Optional (debug) |
83 | 83 | ]); |
84 | 84 | } catch (SoapFault $soapFault) { |