Completed
Push — master ( f5070b...8bd8a3 )
by David
07:39 queued 04:53
created
src/views/forum/thread/_addReply.blade.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2
-    if(isset($wysiwyg)) {
3
-        $wysiwygInclude = $wysiwyg['include'];
2
+    if (isset($wysiwyg)) {
3
+        $wysiwygInclude = $wysiwyg[ 'include' ];
4 4
 
5
-        switch ($wysiwyg['name']) {
5
+        switch ($wysiwyg[ 'name' ]) {
6 6
             case 'tinymce':
7 7
                 $js = '//tinymce.cachefly.net/4.2/tinymce.min.js';
8 8
                 $css = null;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         <textarea name="body" class="form-control"></textarea>
30 30
         @if (isset($wysiwygInclude))
31 31
             <script type="application/javascript">
32
-                <?=$init;?>
32
+                <?=$init; ?>
33 33
             </script>
34 34
         @endif
35 35
 
Please login to merge, or discard this patch.
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.