From dade84e6b6e26d50cc259b48eba2ceaf454cba42 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 3 Jul 2024 22:17:47 +0100 Subject: [PATCH] fix: handle arguments --- src/Plugins/Concerns/HandleArguments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/Concerns/HandleArguments.php b/src/Plugins/Concerns/HandleArguments.php index 0709f3e1..bc686942 100644 --- a/src/Plugins/Concerns/HandleArguments.php +++ b/src/Plugins/Concerns/HandleArguments.php @@ -21,7 +21,7 @@ trait HandleArguments return true; } - if (str_starts_with($arg, "$argument=")) { + if (str_starts_with((string) $arg, "$argument=")) { return true; } }