@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | * @param string $eventName The event name. |
| 111 | 111 | * @param string $notification The notification. |
| 112 | 112 | * @param string $type The notification type. |
| 113 | - * @return Event Returns the event. |
|
| 113 | + * @return null|\Symfony\Component\EventDispatcher\Event Returns the event. |
|
| 114 | 114 | */ |
| 115 | 115 | private function notify($eventName, $notification, $type) { |
| 116 | 116 | |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * Notify "Danger". |
| 132 | 132 | * |
| 133 | 133 | * @param string $notification The notification. |
| 134 | - * @return Event Returns the event. |
|
| 134 | + * @return null|\Symfony\Component\EventDispatcher\Event Returns the event. |
|
| 135 | 135 | */ |
| 136 | 136 | protected function notifyDanger($notification) { |
| 137 | 137 | return $this->notify(NotificationEvents::NOTIFICATION_DANGER, $notification, BootstrapBundle::BOOTSTRAP_DANGER); |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * Notify "Info". |
| 142 | 142 | * |
| 143 | 143 | * @param string $notification The notification. |
| 144 | - * @return Event Returns the event. |
|
| 144 | + * @return null|\Symfony\Component\EventDispatcher\Event Returns the event. |
|
| 145 | 145 | */ |
| 146 | 146 | protected function notifyInfo($notification) { |
| 147 | 147 | return $this->notify(NotificationEvents::NOTIFICATION_INFO, $notification, BootstrapBundle::BOOTSTRAP_INFO); |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * Notify "Success". |
| 152 | 152 | * |
| 153 | 153 | * @param string $notification The notification. |
| 154 | - * @return Event Returns the event. |
|
| 154 | + * @return null|\Symfony\Component\EventDispatcher\Event Returns the event. |
|
| 155 | 155 | */ |
| 156 | 156 | protected function notifySuccess($notification) { |
| 157 | 157 | return $this->notify(NotificationEvents::NOTIFICATION_SUCCESS, $notification, BootstrapBundle::BOOTSTRAP_SUCCESS); |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * Notify "Warning". |
| 162 | 162 | * |
| 163 | 163 | * @param string $notification The notification. |
| 164 | - * @return Event Returns the event. |
|
| 164 | + * @return null|\Symfony\Component\EventDispatcher\Event Returns the event. |
|
| 165 | 165 | */ |
| 166 | 166 | protected function notifyWarning($notification) { |
| 167 | 167 | return $this->notify(NotificationEvents::NOTIFICATION_WARNING, $notification, BootstrapBundle::BOOTSTRAP_WARNING); |