File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44
55namespace TheCodingMachine \GraphQLite \Annotations ;
66
7+ use Attribute ;
78use BadMethodCallException ;
89
910use function ltrim ;
1819 * @Attribute("for", type = "string")
1920 * })
2021 */
22+ #[Attribute(Attribute::TARGET_PARAMETER )]
2123class HideParameter implements ParameterAnnotationInterface
2224{
2325 /** @var string */
Original file line number Diff line number Diff line change 44
55namespace TheCodingMachine \GraphQLite \Annotations ;
66
7+ use Attribute ;
78use BadMethodCallException ;
89
910use function ltrim ;
1819 * @Attribute("for", type = "string")
1920 * })
2021 */
22+ #[Attribute(Attribute::TARGET_PARAMETER )]
2123class InjectUser implements ParameterAnnotationInterface
2224{
2325 /** @var string */
Original file line number Diff line number Diff line change 44
55namespace TheCodingMachine \GraphQLite \Annotations ;
66
7+ use Attribute ;
78use BadMethodCallException ;
89
910use function is_string ;
1920 * @Attribute("inputType", type = "string"),
2021 * })
2122 */
23+ #[Attribute(Attribute::TARGET_PARAMETER )]
2224class UseInputType implements ParameterAnnotationInterface
2325{
2426 /** @var string|null */
You can’t perform that action at this time.
0 commit comments