We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57f4d8 commit 9a5fc01Copy full SHA for 9a5fc01
1 file changed
src/Input.php
@@ -252,10 +252,11 @@ public function with(string...$keys):Trigger {
252
return $this->select(...$keys);
253
}
254
255
+ /** @SuppressWarnings(PHPMD.UnusedLocalVariable) */
256
public function selectPrefix(string $prefix):Trigger {
257
$keys = [];
258
- foreach(array_keys($this->parameters) as $key) {
259
+ foreach($this->parameters as $key => $param) {
260
if(str_starts_with($key, $prefix)) {
261
array_push($keys, $key);
262
0 commit comments