Completed
Push — master ( 383466...f53a3b )
by Garrett
03:21
created
example/observers/Formatter.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -47,15 +47,15 @@
 block discarded – undo
47 47
 
48 48
     public function onCreatePost(Event $event) {
49 49
         $result = '<div style="padding: 9px 16px;border:1px solid #EEE;margin-bottom:16px;">'
50
-                 .'<strong>Posted by</strong> '
51
-                 .$this->mediator->publish(new Event('formatUsername', $event->data['username'], $this))
52
-                 .' ('
53
-                 .$this->mediator->publish(new Event('formatGroup', $event->data['group'], $this))
54
-                 .')<br /><strong>Posted Date</strong> '
55
-                 .$this->mediator->publish(new Event('formatDate', $event->data['date'], $this))
56
-                 .'<br />'
57
-                 .$this->mediator->publish(new Event('formatMessage', $event->data['message'], $this))
58
-                 .'</div>';
50
+                    .'<strong>Posted by</strong> '
51
+                    .$this->mediator->publish(new Event('formatUsername', $event->data['username'], $this))
52
+                    .' ('
53
+                    .$this->mediator->publish(new Event('formatGroup', $event->data['group'], $this))
54
+                    .')<br /><strong>Posted Date</strong> '
55
+                    .$this->mediator->publish(new Event('formatDate', $event->data['date'], $this))
56
+                    .'<br />'
57
+                    .$this->mediator->publish(new Event('formatMessage', $event->data['message'], $this))
58
+                    .'</div>';
59 59
         return $result;
60 60
     }
61 61
 }
Please login to merge, or discard this patch.