summaryrefslogtreecommitdiff
path: root/classes/events.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-26 05:49:33 +0300
committerValentin Popov <info@valentineus.link>2017-10-26 05:49:33 +0300
commit54d1d030ec3e604cb2dd63819664d05677befe16 (patch)
tree4f04b51fde3990f3d633b7b8b5f34339f6c84b37 /classes/events.php
parent8651e6a1571fd99c4adedf3a0310e8a4fca957e3 (diff)
downloadlocal_webhooks-54d1d030ec3e604cb2dd63819664d05677befe16.tar.xz
local_webhooks-54d1d030ec3e604cb2dd63819664d05677befe16.zip
Correcting the style of the code
Diffstat (limited to 'classes/events.php')
-rw-r--r--classes/events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/events.php b/classes/events.php
index 5b93a9c..33e278b 100644
--- a/classes/events.php
+++ b/classes/events.php
@@ -59,7 +59,7 @@ class events {
if ($callbacks->valid()) {
foreach ($callbacks as $callback) {
- self::handlerCallback($data, $callback);
+ self::handler_callback($data, $callback);
}
}
@@ -72,7 +72,7 @@ class events {
* @param array $data
* @param object $callback
*/
- private static function handlerCallback($data, $callback) {
+ private static function handler_callback($data, $callback) {
if ($callback->enable) {
$events = unserialize(gzuncompress(base64_decode($callback->events)));