Completed
Pull Request — master (#2624)
by
unknown
02:44
created
src/Grid/Model.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -537,10 +537,10 @@
 block discarded – undo
537 537
         })) {
538 538
             $relation = $this->model->$relationName();
539 539
 	
540
-	        $this->queries->push([
541
-		        'method'    => 'select',
542
-		        'arguments' => [$this->model->getTable() . ".*"],
543
-	        ]);
540
+            $this->queries->push([
541
+                'method'    => 'select',
542
+                'arguments' => [$this->model->getTable() . ".*"],
543
+            ]);
544 544
 	        
545 545
             $this->queries->push([
546 546
                 'method'    => 'join',
Please login to merge, or discard this patch.
src/Show/Field.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,9 @@
 block discarded – undo
232 232
      */
233 233
     public function file($server = '', $download = true)
234 234
     {
235
-        if ( ! $this->value ) return;
235
+        if ( ! $this->value ) {
236
+            return;
237
+        }
236 238
         $field = $this;
237 239
 
238 240
         return $this->unescape()->as(function ($path) use ($server, $download, $field) {
Please login to merge, or discard this patch.