File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace TheCodingMachine \GraphQLite \Annotations ;
6
6
7
+ use Attribute ;
7
8
use BadMethodCallException ;
8
9
9
10
use function ltrim ;
18
19
* @Attribute("for", type = "string")
19
20
* })
20
21
*/
22
+ #[Attribute(Attribute::TARGET_PARAMETER )]
21
23
class HideParameter implements ParameterAnnotationInterface
22
24
{
23
25
/** @var string */
Original file line number Diff line number Diff line change 4
4
5
5
namespace TheCodingMachine \GraphQLite \Annotations ;
6
6
7
+ use Attribute ;
7
8
use BadMethodCallException ;
8
9
9
10
use function ltrim ;
18
19
* @Attribute("for", type = "string")
19
20
* })
20
21
*/
22
+ #[Attribute(Attribute::TARGET_PARAMETER )]
21
23
class InjectUser implements ParameterAnnotationInterface
22
24
{
23
25
/** @var string */
Original file line number Diff line number Diff line change 4
4
5
5
namespace TheCodingMachine \GraphQLite \Annotations ;
6
6
7
+ use Attribute ;
7
8
use BadMethodCallException ;
8
9
9
10
use function is_string ;
19
20
* @Attribute("inputType", type = "string"),
20
21
* })
21
22
*/
23
+ #[Attribute(Attribute::TARGET_PARAMETER )]
22
24
class UseInputType implements ParameterAnnotationInterface
23
25
{
24
26
/** @var string|null */
You can’t perform that action at this time.
0 commit comments