Completed
Pull Request — develop (#66)
by Tony
09:59
created
app/Models/DbConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function scopeKey(Builder $query, $key)
66 66
     {
67
-        return $query->where('config_name', 'LIKE', $key . '%');
67
+        return $query->where('config_name', 'LIKE', $key.'%');
68 68
     }
69 69
 
70 70
     /**
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
         if (!empty($value)) {
100 100
             try {
101 101
                 return unserialize($value);
102
-            } catch(\Exception $e) {
103
-                if(starts_with($e->getMessage(), 'unserialize():')) {
102
+            } catch (\Exception $e) {
103
+                if (starts_with($e->getMessage(), 'unserialize():')) {
104 104
                     return $value;
105 105
                 } else {
106 106
                     throw $e;
Please login to merge, or discard this patch.