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 fd2e06e commit 8518ce3Copy full SHA for 8518ce3
src/Support/Fields.php
@@ -45,7 +45,7 @@ public static function get(Request $request, string $type = null): ?array
45
throw new \BadMethodCallException(__METHOD__ . ':$type must not be null when not current stack');
46
}
47
48
- $fields = self::parse($request->input('fields', []));
+ $fields = self::parse((array) $request->input('fields', []));
49
50
return $fields[$type] ?? null;
51
0 commit comments