File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717use Chevere \Parameter \ArrayParameter ;
1818use Chevere \Parameter \Interfaces \ArrayParameterInterface ;
1919use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
20- use Chevere \Parameter \Interfaces \ParameterInterface ;
2120use Chevere \Parameter \Traits \AttrTrait ;
2221
2322#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_PARAMETER | Attribute::TARGET_CLASS_CONSTANT )]
@@ -47,9 +46,4 @@ public function __invoke(array $array): array
4746 {
4847 return $ this ->parameter ->__invoke ($ array );
4948 }
50-
51- public function parameter (): ParameterInterface
52- {
53- return $ this ->parameter ;
54- }
5549}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \BoolParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \bool ;
2221
@@ -39,9 +38,4 @@ public function __invoke(bool $bool): bool
3938 {
4039 return $ this ->parameter ->__invoke ($ bool );
4140 }
42-
43- public function parameter (): ParameterInterface
44- {
45- return $ this ->parameter ;
46- }
4741}
Original file line number Diff line number Diff line change @@ -45,9 +45,4 @@ public function __invoke(mixed $mixed): mixed
4545 {
4646 return $ this ->parameter ->__invoke ($ mixed );
4747 }
48-
49- public function parameter (): ParameterInterface
50- {
51- return $ this ->parameter ;
52- }
5348}
Original file line number Diff line number Diff line change 1515
1616use Attribute ;
1717use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
18- use Chevere \Parameter \Interfaces \ParameterInterface ;
1918use Chevere \Parameter \Interfaces \StringParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \enum ;
@@ -38,9 +37,4 @@ public function __invoke(string $string): string
3837 {
3938 return $ this ->parameter ->__invoke ($ string );
4039 }
41-
42- public function parameter (): ParameterInterface
43- {
44- return $ this ->parameter ;
45- }
4640}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \FloatParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \float ;
2221
@@ -47,9 +46,4 @@ public function __invoke(float $float): float
4746 {
4847 return $ this ->parameter ->__invoke ($ float );
4948 }
50-
51- public function parameter (): ParameterInterface
52- {
53- return $ this ->parameter ;
54- }
5549}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \IntParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \int ;
2221
@@ -47,9 +46,4 @@ public function __invoke(int $int): int
4746 {
4847 return $ this ->parameter ->__invoke ($ int );
4948 }
50-
51- public function parameter (): ParameterInterface
52- {
53- return $ this ->parameter ;
54- }
5549}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \IterableParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \iterable ;
2221
@@ -48,9 +47,4 @@ public function __invoke(iterable $array): iterable
4847 {
4948 return $ this ->parameter ->__invoke ($ array );
5049 }
51-
52- public function parameter (): ParameterInterface
53- {
54- return $ this ->parameter ;
55- }
5650}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \MixedParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \mixed ;
2221
@@ -39,9 +38,4 @@ public function __invoke(mixed $mixed): mixed
3938 {
4039 return $ this ->parameter ->__invoke ($ mixed );
4140 }
42-
43- public function parameter (): ParameterInterface
44- {
45- return $ this ->parameter ;
46- }
4741}
Original file line number Diff line number Diff line change 1616use Attribute ;
1717use Chevere \Parameter \Interfaces \NullParameterInterface ;
1818use Chevere \Parameter \Interfaces \ParameterAttributeInterface ;
19- use Chevere \Parameter \Interfaces \ParameterInterface ;
2019use Chevere \Parameter \Traits \AttrTrait ;
2120use function Chevere \Parameter \null ;
2221
@@ -38,9 +37,4 @@ public function __invoke(mixed $null): mixed
3837 {
3938 return $ this ->parameter ->__invoke ($ null );
4039 }
41-
42- public function parameter (): ParameterInterface
43- {
44- return $ this ->parameter ;
45- }
4640}
Original file line number Diff line number Diff line change @@ -34,9 +34,4 @@ public function __invoke(mixed $mixed): mixed
3434 {
3535 return $ this ->parameter ->__invoke ($ mixed );
3636 }
37-
38- public function parameter (): ParameterInterface
39- {
40- return $ this ->parameter ;
41- }
4237}
You can’t perform that action at this time.
0 commit comments