Completed
Push — master ( 8cd0e9...104c30 )
by David
02:53
created
src/views/layout/bootstrap/_createModal.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         @endif
36 36
     }
37 37
 </script>
38
-<div class="modal fade" id="<?=$modal_id;?>" tabindex="-1" role="dialog" aria-hidden="true">
38
+<div class="modal fade" id="<?=$modal_id; ?>" tabindex="-1" role="dialog" aria-hidden="true">
39 39
     <div class="modal-dialog">
40 40
         <div class="modal-content">
41 41
             <div class="modal-header">
@@ -55,13 +55,13 @@  discard block
 block discarded – undo
55 55
                     @if(in_array($f['type'], ['text', 'url', 'date', 'datetime', 'time', 'email', 'number']))
56 56
                         <div class="input-group">
57 57
                             <label class="label" for="{{ $f['name'] }}">{{ $f['label'] or ucfirst($f['name']) }}</label>
58
-                            <input class="form-control" id="{{ $f['name'] }}" <?php if(isset($f['value'])) { echo 'value="'. $f['value'] .'" '; } ?>type="{{ $f['type'] }}" placeholder="{{ $f['name'] }}" <?php if(isset($f['required']) && $f['required']) { echo 'required'; } ?> />
58
+                            <input class="form-control" id="{{ $f['name'] }}" <?php if (isset($f[ 'value' ])) { echo 'value="'.$f[ 'value' ].'" '; } ?>type="{{ $f['type'] }}" placeholder="{{ $f['name'] }}" <?php if (isset($f[ 'required' ]) && $f[ 'required' ]) { echo 'required'; } ?> />
59 59
                         </div>
60 60
                     @elseif(in_array($f['type'], ['select']))
61 61
                         <div class="input-group">
62 62
                             <label class="label" for="{{ $f['name'] }}">{{ $f['label'] or ucfirst($f['name']) }}</label>
63 63
                             <select id="{{ $f['name'] }}" class="form-control">
64
-                                <?php $optionField = $f['field'];
64
+                                <?php $optionField = $f[ 'field' ];
65 65
                                 if (strpos($optionField, '.') !== false) {
66 66
                                     $optionFields = explode('.', $optionField);
67 67
                                 }
Please login to merge, or discard this patch.
src/Events/PostCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      */
25 25
     public function broadcastOn()
26 26
     {
27
-        return ['laravel-forum'];
27
+        return [ 'laravel-forum' ];
28 28
     }
29 29
 }
Please login to merge, or discard this patch.