Passed
Push — ft/fields-refactor ( 34e13a...220f3b )
by Ben
81:47
created
src/Urls/Application/SaveUrlSlugs.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,9 @@
 block discarded – undo
140 140
 
141 141
     private function deleteIdenticalRecords($existingRecords): void
142 142
     {
143
-        if($this->strict) return;
143
+        if($this->strict) {
144
+            return;
145
+        }
144 146
 
145 147
         // The old homepage url should be removed since this is no longer in effect.
146 148
         // In case of any redirect to this old homepage, the last used redirect is now back in effect.
Please login to merge, or discard this patch.
src/Urls/Application/RevertUrlSlug.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 
34 34
                 $currentUrlRecord->replaceAndRedirect(['slug' => $recentRedirectSlug]);
35 35
             }
36
-        }
37
-        catch(UrlRecordNotFound $e)
36
+        } catch(UrlRecordNotFound $e)
38 37
         {
39 38
             // No url present so nothing to do here...
40 39
         }
Please login to merge, or discard this patch.