@@ -53,7 +53,7 @@ |
||
| 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); |
@@ -19,7 +19,7 @@ discard block |
||
| 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 |
||
| 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 | } |