Completed
Pull Request — 0.3 (#239)
by Ben
31:16 queued 26:06
created
src/Urls/UrlRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,12 +112,12 @@
 block discarded – undo
112 112
             $builder->where('locale', $locale);
113 113
         }
114 114
 
115
-        if (! $includeRedirects) {
115
+        if (!$includeRedirects) {
116 116
             $builder->whereNull('redirect_id');
117 117
         }
118 118
 
119 119
         if ($ignoredModel) {
120
-            $builder->whereNotIn('id', function ($query) use ($ignoredModel) {
120
+            $builder->whereNotIn('id', function($query) use ($ignoredModel) {
121 121
                 $query->select('id')
122 122
                       ->from('chief_urls')
123 123
                       ->where('model_type', '=', $ignoredModel->getMorphClass())
Please login to merge, or discard this patch.
src/Management/AbstractManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
         $builder->orderBy('updated_at', 'DESC');
79 79
 
80
-        return $builder->get()->map(function ($model) {
80
+        return $builder->get()->map(function($model) {
81 81
             return (new static($this->registration))->manage($model);
82 82
         });
83 83
     }
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 
146 146
     public function guard($verb): Manager
147 147
     {
148
-        if (! $this->can($verb)) {
148
+        if (!$this->can($verb)) {
149 149
             NotAllowedManagerRoute::notAllowedVerb($verb, $this);
150 150
         }
151 151
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         $fields = $this->fields();
169 169
 
170 170
         foreach ($this->assistants() as $assistant) {
171
-            if (! method_exists($assistant, 'fields')) {
171
+            if (!method_exists($assistant, 'fields')) {
172 172
                 continue;
173 173
             }
174 174
 
Please login to merge, or discard this patch.