Remove unnecessary return statement in slack.php

The return statement was redundant as the function naturally concludes without it. Removing it improves code clarity and eliminates dead code.
This commit is contained in:
Jepp9350
2025-04-22 15:47:57 +02:00
parent 7a48710fb1
commit 56fa77be11
-1
View File
@@ -43,7 +43,6 @@ class slack implements notification_i
if (!empty($webhook)) {
redis->cache_department_webhook($department_id, $webhook);
}
return null;
}
return redis->get_department_webhook($department_id);
}