Completed
Pull Request — master (#1350)
by
unknown
03:01
created
src/Grid.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -290,14 +290,14 @@
 block discarded – undo
290 290
     {
291 291
         $trans_key = 'validation.attributes.' . $relationColumn;
292 292
         $trans_key_low = strtolower($trans_key);
293
-         if (empty($label) && Lang::has($trans_key)) {
294
-             $label = Lang::get($trans_key);
295
-         }
296
-         if (empty($label) && Lang::has($trans_key_low)) {
293
+            if (empty($label) && Lang::has($trans_key)) {
294
+                $label = Lang::get($trans_key);
295
+            }
296
+            if (empty($label) && Lang::has($trans_key_low)) {
297 297
             $label = Lang::get($trans_key_low);
298 298
         }else if (empty($label)) {
299
-             $label = ucfirst($relationColumn);
300
-         }
299
+                $label = ucfirst($relationColumn);
300
+            }
301 301
         return $label;
302 302
     }
303 303
 
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -906,7 +906,7 @@
 block discarded – undo
906 906
      */
907 907
     public function popover($title = null, $content)
908 908
     {
909
-      return  $this->attribute([
909
+        return  $this->attribute([
910 910
             'data-popover-title' => $title,
911 911
             'data-popover'       => $content,
912 912
         ]);
Please login to merge, or discard this patch.
src/Widgets/Form.php 1 patch
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -307,6 +307,4 @@
 block discarded – undo
307 307
      */
308 308
     public function __toString()
309 309
     {
310
-        return $this->render();
311
-    }
312
-}
310
+        return $this->render
313 311
\ No newline at end of file
Please login to merge, or discard this patch.