remove codeigniter
This commit is contained in:
@@ -637,9 +637,7 @@ class PaymentManualService
|
||||
private function triggerEvent(string $name, array $payload): void
|
||||
{
|
||||
try {
|
||||
if (class_exists(\CodeIgniter\Events\Events::class)) {
|
||||
\CodeIgniter\Events\Events::trigger($name, ...$payload);
|
||||
} elseif (function_exists('event')) {
|
||||
if (function_exists('event')) {
|
||||
event($name, $payload);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user