Passed
Push — master ( bc7b5c...925ca7 )
by Georgi
03:13
created
src/Seeds/FileView.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,9 @@
 block discarded – undo
90 90
 		$container->js(true, new jsExpression('new ClipboardJS(".copy-button")'));
91 91
 		
92 92
 		$container->on('click', '.delete-link', $this->add(['jsCallback', 'postTrigger' => 'link'])->set(function($j, $linkId) {
93
-			if (! $link = FileRemoteAccess::find($linkId)) return;
93
+			if (! $link = FileRemoteAccess::find($linkId)) {
94
+				return;
95
+			}
94 96
 			
95 97
 			$link->delete();
96 98
 			
Please login to merge, or discard this patch.