File tree Expand file tree Collapse file tree 14 files changed +6
-128
lines changed Expand file tree Collapse file tree 14 files changed +6
-128
lines changed Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class After
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class AfterClass
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class Before
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class BeforeClass
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class PostCondition
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 19
19
#[Attribute(Attribute::TARGET_METHOD )]
20
20
final readonly class PreCondition
21
21
{
22
- /**
23
- * @var non-negative-int
24
- */
25
22
private int $ priority ;
26
23
27
- /**
28
- * @param non-negative-int $priority
29
- */
30
24
public function __construct (int $ priority = 0 )
31
25
{
32
26
$ this ->priority = $ priority ;
33
27
}
34
28
35
- /**
36
- * @return non-negative-int
37
- */
38
29
public function priority (): int
39
30
{
40
31
return $ this ->priority ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
final readonly class After extends Metadata
18
18
{
19
- /**
20
- * @var non-negative-int
21
- */
22
19
private int $ priority ;
23
20
24
21
/**
25
- * @param int<0, 1> $level
26
- * @param non-negative-int $priority
22
+ * @param int<0, 1> $level
27
23
*/
28
24
protected function __construct (int $ level , int $ priority )
29
25
{
@@ -37,9 +33,6 @@ public function isAfter(): true
37
33
return true ;
38
34
}
39
35
40
- /**
41
- * @return non-negative-int
42
- */
43
36
public function priority (): int
44
37
{
45
38
return $ this ->priority ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
final readonly class AfterClass extends Metadata
18
18
{
19
- /**
20
- * @var non-negative-int
21
- */
22
19
private int $ priority ;
23
20
24
21
/**
25
- * @param int<0, 1> $level
26
- * @param non-negative-int $priority
22
+ * @param int<0, 1> $level
27
23
*/
28
24
protected function __construct (int $ level , int $ priority )
29
25
{
@@ -37,9 +33,6 @@ public function isAfterClass(): true
37
33
return true ;
38
34
}
39
35
40
- /**
41
- * @return non-negative-int
42
- */
43
36
public function priority (): int
44
37
{
45
38
return $ this ->priority ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
final readonly class Before extends Metadata
18
18
{
19
- /**
20
- * @var non-negative-int
21
- */
22
19
private int $ priority ;
23
20
24
21
/**
25
- * @param int<0, 1> $level
26
- * @param non-negative-int $priority
22
+ * @param int<0, 1> $level
27
23
*/
28
24
protected function __construct (int $ level , int $ priority )
29
25
{
@@ -37,9 +33,6 @@ public function isBefore(): true
37
33
return true ;
38
34
}
39
35
40
- /**
41
- * @return non-negative-int
42
- */
43
36
public function priority (): int
44
37
{
45
38
return $ this ->priority ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
final readonly class BeforeClass extends Metadata
18
18
{
19
- /**
20
- * @var non-negative-int
21
- */
22
19
private int $ priority ;
23
20
24
21
/**
25
- * @param int<0, 1> $level
26
- * @param non-negative-int $priority
22
+ * @param int<0, 1> $level
27
23
*/
28
24
protected function __construct (int $ level , int $ priority )
29
25
{
@@ -37,9 +33,6 @@ public function isBeforeClass(): true
37
33
return true ;
38
34
}
39
35
40
- /**
41
- * @return non-negative-int
42
- */
43
36
public function priority (): int
44
37
{
45
38
return $ this ->priority ;
You can’t perform that action at this time.
0 commit comments