@@ -34,7 +34,31 @@ interface SerializerContextBuilderInterface
3434 *
3535 * @return array<string, mixed>
3636 *
37- * @phpstan-return array<string, mixed>
37+ * @phpstan-return array{
38+ * groups?: string[]|string,
39+ * operation_name?: string,
40+ * operation?: HttpOperation,
41+ * resource_class?: class-string,
42+ * skip_null_values?: bool,
43+ * iri_only?: bool,
44+ * request_uri?: string,
45+ * uri?: string,
46+ * input?: array{class: class-string|null},
47+ * output?: array{class: class-string|null},
48+ * item_uri_template?: string,
49+ * types?: string[],
50+ * uri_variables?: array<string, string>,
51+ * force_resource_class?: class-string,
52+ * api_allow_update?: bool,
53+ * deep_object_to_populate?: bool,
54+ * collect_denormalization_errors?: bool,
55+ * exclude_from_cache_key?: string[],
56+ * api_included?: bool,
57+ * attributes?: string[],
58+ * deserializer_type?: string,
59+ * api_assign_object_to_populate?: bool,
60+ * ...<string, mixed>
61+ * }
3862 *
3963 * @psalm-return array{
4064 * groups?: string[]|string,
0 commit comments