Passed
Push — main ( 1b0804...b2ad10 )
by Hooman
12:11 queued 13s
created
database/migrations/2021_10_03_164841_create_sms_report_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
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
 });
Please login to merge, or discard this patch.
src/Drivers/Magfa.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Providers/SmsProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,30 +42,30 @@
 block discarded – undo
42 42
         $this->app->singleton('sms', SmsManager::class);
43 43
         $this->app->singleton('voiceCall', VoiceCallManager::class);
44 44
 
45
-        $this->app->bind(FakeSmsSender::class, function () {
45
+        $this->app->bind(FakeSmsSender::class, function() {
46 46
             $config = config('sms.drivers.fake') ?? [];
47 47
 
48 48
             return new FakeSmsSender($config);
49 49
         });
50 50
 
51
-        $this->app->bind(Kavenegar::class, function () {
51
+        $this->app->bind(Kavenegar::class, function() {
52 52
             $config = config('sms.drivers.kavenegar') ?? [];
53 53
             $kavenegarApi = new KavenegarApi($config['apiKey']);
54 54
 
55 55
             return new Kavenegar($config, $kavenegarApi);
56 56
         });
57 57
 
58
-        $this->app->bind(Magfa::class, function () {
58
+        $this->app->bind(Magfa::class, function() {
59 59
             $config = config('sms.drivers.magfa') ?? [];
60 60
             return new Magfa($config);
61 61
         });
62 62
 
63
-        $this->app->bind(SmsOnline::class, function () {
63
+        $this->app->bind(SmsOnline::class, function() {
64 64
             $config = config('sms.drivers.smsonline') ?? [];
65 65
             return new SmsOnline($config);
66 66
         });
67 67
 
68
-        $this->app->bind(Avanak::class, function () {
68
+        $this->app->bind(Avanak::class, function() {
69 69
             $config = config('sms.drivers.avanak') ?? [];
70 70
             return new Avanak($config);
71 71
         });
Please login to merge, or discard this patch.