Completed
Push — master ( 20ff1e...685fd1 )
by Scott
02:31
created
classes/DriverManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getPlugins()
44 44
     {
45
-        if (! $this->plugins) {
45
+        if (!$this->plugins) {
46 46
             $this->plugins = $this->pluginManager->getPlugins();
47 47
         }
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function getShippingDrivers()
58 58
     {
59
-        if (! $this->shippingDrivers) {
59
+        if (!$this->shippingDrivers) {
60 60
             $this->registerShippingDrivers();
61 61
         }
62 62
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $plugins = $this->getPlugins();
74 74
 
75 75
         foreach ($plugins as $id => $plugin) {
76
-            if (! method_exists($plugin, 'registerShippingDrivers')) {
76
+            if (!method_exists($plugin, 'registerShippingDrivers')) {
77 77
                 continue;
78 78
             }
79 79
 
@@ -101,11 +101,11 @@  discard block
 block discarded – undo
101 101
      */
102 102
     protected function validateDriverDetails($details, $driverClass)
103 103
     {
104
-        if (! is_array($details)) {
104
+        if (!is_array($details)) {
105 105
             throw new Exception('An array must be returned from the driverDetails() method in '.$driverClass.'.');
106 106
         }
107 107
 
108
-        if (! array_key_exists('name', $details) || ! is_string($details['name'])) {
108
+        if (!array_key_exists('name', $details) || !is_string($details['name'])) {
109 109
             throw new Exception('A valid name must be returned from the driverDetails() method in '.$driverClass.'.');
110 110
         }
111 111
     }
Please login to merge, or discard this patch.
formwidgets/DriverConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * Save a driver.
157 157
      *
158
-     * @param  name     $driver     The class name of the driver.
158
+     * @param  name     $driverClass     The class name of the driver.
159 159
      * @param  array    $config     Driver data to save.
160 160
      * @return void
161 161
      */
Please login to merge, or discard this patch.
updates/1.0/create_driver_configs_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_driver_configs', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_driver_configs', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->string('driver')->default('');
Please login to merge, or discard this patch.
traits/LangJsonable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
             // 'form@backend::lang.form' => ['cancel', 'save', 'saving']
26 26
             else {
27
-                if (! $isFiltered) {
27
+                if (!$isFiltered) {
28 28
                     $key = $value;
29 29
                 }
30 30
 
Please login to merge, or discard this patch.
classes/ApiMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function handle($request, Closure $next)
16 16
     {
17
-        if (! ApiSettings::isEnabled()) {
17
+        if (!ApiSettings::isEnabled()) {
18 18
             abort(403, 'Forbidden');
19 19
 
20 20
             return;
Please login to merge, or discard this patch.
controllers/Inventories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function validate()
19 19
     {
20 20
         $data = input('inventory');
21
-        if (! $data || ! is_array($data)) {
21
+        if (!$data || !is_array($data)) {
22 22
             return Response::make('Error', 422);
23 23
         }
24 24
 
Please login to merge, or discard this patch.
controllers/Filters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function validate()
19 19
     {
20 20
         $data = input('filter');
21
-        if (! $data || ! is_array($data)) {
21
+        if (!$data || !is_array($data)) {
22 22
             return Response::make('Error', 422);
23 23
         }
24 24
 
Please login to merge, or discard this patch.
updates/1.0/create_carts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_carts', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_carts', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->integer('promotion_id')->unsigned()->nullable()->index();
Please login to merge, or discard this patch.
updates/1.0/create_options_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_options', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_options', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->integer('product_id')->unsigned()->nullable()->index();
Please login to merge, or discard this patch.