File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ public function with(string...$keys):Trigger {
255
255
public function selectPrefix (string $ prefix ):Trigger {
256
256
$ keys = [];
257
257
258
- foreach ($ this ->parameters as $ key => $ param ) {
258
+ foreach (array_keys ( $ this ->parameters ) as $ key ) {
259
259
if (str_starts_with ($ key , $ prefix )) {
260
260
array_push ($ keys , $ key );
261
261
}
Original file line number Diff line number Diff line change 2
2
namespace Gt \Input \Trigger ;
3
3
4
4
class NeverTrigger extends Trigger {
5
+ // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter
5
6
public function call (callable $ callback , string ...$ args ):Trigger {
6
7
return $ this ;
7
8
}
8
9
10
+ // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter
9
11
public function orCall (callable $ callback , string ...$ args ):Trigger {
10
12
return $ this ;
11
13
}
You can’t perform that action at this time.
0 commit comments