File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ public function with(string...$keys):Trigger {
255255 public function selectPrefix (string $ prefix ):Trigger {
256256 $ keys = [];
257257
258- foreach ($ this ->parameters as $ key => $ param ) {
258+ foreach (array_keys ( $ this ->parameters ) as $ key ) {
259259 if (str_starts_with ($ key , $ prefix )) {
260260 array_push ($ keys , $ key );
261261 }
Original file line number Diff line number Diff line change 22namespace Gt \Input \Trigger ;
33
44class NeverTrigger extends Trigger {
5+ // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter
56 public function call (callable $ callback , string ...$ args ):Trigger {
67 return $ this ;
78 }
89
10+ // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter
911 public function orCall (callable $ callback , string ...$ args ):Trigger {
1012 return $ this ;
1113 }
You can’t perform that action at this time.
0 commit comments