Passed
Push — master ( d3fe5e...a81e51 )
by Alex
02:04
created
src/GatewayManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $gateway = mb_strtolower($gateway);
59 59
 
60
-        if (! isset($this->created[$gateway])) {
60
+        if (!isset($this->created[$gateway])) {
61 61
             $this->created[$gateway] = $this->createGateway($gateway);
62 62
         }
63 63
 
@@ -90,17 +90,17 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function createGateway(string $gateway): Gateway
92 92
     {
93
-        if (! isset($this->gateways[$gateway])) {
93
+        if (!isset($this->gateways[$gateway])) {
94 94
             throw new InvalidArgumentException("Gateway [{$gateway}] was not found.");
95 95
         }
96 96
 
97 97
         $implementation = $this->gateways[$gateway];
98 98
 
99
-        if (! class_exists($implementation)) {
99
+        if (!class_exists($implementation)) {
100 100
             throw new RuntimeException("Class [{$implementation}] was not found.");
101 101
         }
102 102
 
103
-        if (! $this->config->has("larapay.gateways.{$implementation}")) {
103
+        if (!$this->config->has("larapay.gateways.{$implementation}")) {
104 104
             throw new RuntimeException("No config found for {$implementation}.");
105 105
         }
106 106
 
Please login to merge, or discard this patch.
files/database/migrations/2014_10_12_300000_create_transactions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function up()
29 29
     {
30
-        $this->builder->create('transactions', function (Blueprint $table) {
30
+        $this->builder->create('transactions', function(Blueprint $table) {
31 31
             $table->increments('id');
32 32
 
33 33
             $table->decimal('amount', 10, 2);
Please login to merge, or discard this patch.