File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 15
15
final class CoversClass
16
16
{
17
17
/**
18
- * @var string
18
+ * @psalm- var class- string
19
19
*/
20
20
private $ className ;
21
21
22
+ /**
23
+ * @psalm-param class-string $className
24
+ */
22
25
public function __construct (string $ className )
23
26
{
24
27
$ this ->className = $ className ;
25
28
}
26
29
30
+ /**
31
+ * @psalm-return class-string
32
+ */
27
33
public function className (): string
28
34
{
29
35
return $ this ->className ;
Original file line number Diff line number Diff line change 15
15
final class DataProviderExternal
16
16
{
17
17
/**
18
- * @var string
18
+ * @psalm- var class- string
19
19
*/
20
20
private $ className ;
21
21
@@ -24,12 +24,18 @@ final class DataProviderExternal
24
24
*/
25
25
private $ methodName ;
26
26
27
+ /**
28
+ * @psalm-param class-string $className
29
+ */
27
30
public function __construct (string $ className , string $ methodName )
28
31
{
29
32
$ this ->className = $ className ;
30
33
$ this ->methodName = $ methodName ;
31
34
}
32
35
36
+ /**
37
+ * @psalm-return class-string
38
+ */
33
39
public function className (): string
34
40
{
35
41
return $ this ->className ;
Original file line number Diff line number Diff line change 15
15
final class DependsExternal
16
16
{
17
17
/**
18
- * @var string
18
+ * @psalm- var class- string
19
19
*/
20
20
private $ className ;
21
21
@@ -24,12 +24,18 @@ final class DependsExternal
24
24
*/
25
25
private $ methodName ;
26
26
27
+ /**
28
+ * @psalm-param class-string $className
29
+ */
27
30
public function __construct (string $ className , string $ methodName )
28
31
{
29
32
$ this ->className = $ className ;
30
33
$ this ->methodName = $ methodName ;
31
34
}
32
35
36
+ /**
37
+ * @psalm-return class-string
38
+ */
33
39
public function className (): string
34
40
{
35
41
return $ this ->className ;
You can’t perform that action at this time.
0 commit comments