Passed
Push — dev ( f3393a...107a54 )
by Abu Salam
02:50
created
src/SmsGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     {
54 54
         $payload = $this->buildConfigParams();
55 55
         if (array_key_exists('key', $payload)) {
56
-            $payload['key'] = hash('sha512', $this->getUsername().$this->getSenderid().$this->getContents().$this->getSecurekey());
56
+            $payload['key'] = hash('sha512', $this->getUsername() . $this->getSenderid() . $this->getContents() . $this->getSecurekey());
57 57
         }
58 58
         //dump("data to hash => ".$this->getUsername().$this->getSenderid().$this->getContents().$this->getSecurekey());
59 59
         $this->setPayload($payload);
Please login to merge, or discard this patch.
src/SmsGatewayServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     {
20 20
         if ($this->app->runningInConsole()) {
21 21
             $this->publishes([
22
-                __DIR__.'/../config/config.php' => config_path('smsgateway.php'),
22
+                __DIR__ . '/../config/config.php' => config_path('smsgateway.php'),
23 23
             ], 'config');
24 24
             /*
25 25
             $this->loadViewsFrom(__DIR__.'/../resources/views', 'skeleton');
@@ -37,6 +37,6 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function register()
39 39
     {
40
-        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'smsgateway');
40
+        $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'smsgateway');
41 41
     }
42 42
 }
Please login to merge, or discard this patch.