Passed
Pull Request — main (#1)
by Hooman
08:39 queued 05:29
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/Providers/SmsProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@
 block discarded – undo
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
 
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.