@@ -37,27 +37,27 @@ public function __construct(string $fullyQualifiedName)
37
37
/**
38
38
* @deprecated
39
39
*/
40
- public static function make (string $ fullyQualifiedName ) : self
40
+ public static function make (string $ fullyQualifiedName ): self
41
41
{
42
42
return new self ($ fullyQualifiedName );
43
43
}
44
44
45
- public function getFullyQualifiedName () : string
45
+ public function getFullyQualifiedName (): string
46
46
{
47
47
return $ this ->fullyQualifiedName ->getFullyQualifiedName ();
48
48
}
49
49
50
- public function getName () : string
50
+ public function getName (): string
51
51
{
52
52
return $ this ->fullyQualifiedName ->getName ();
53
53
}
54
54
55
- public function getNamespace () : string
55
+ public function getNamespace (): string
56
56
{
57
57
return $ this ->fullyQualifiedName ->getNamespace ();
58
58
}
59
59
60
- public function setPhpdoc (StructurePhpdoc $ structurePhpdoc ) : self
60
+ public function setPhpdoc (StructurePhpdoc $ structurePhpdoc ): self
61
61
{
62
62
$ this ->structurePhpdoc = $ structurePhpdoc ;
63
63
@@ -72,44 +72,44 @@ public function getPhpdoc()
72
72
/**
73
73
* @api
74
74
*/
75
- public function extend (Contract $ contract ) : self
75
+ public function extend (Contract $ contract ): self
76
76
{
77
77
$ this ->contracts [] = $ contract ;
78
78
79
79
return $ this ;
80
80
}
81
81
82
- public function allContracts () : array
82
+ public function allContracts (): array
83
83
{
84
84
return $ this ->contracts ;
85
85
}
86
86
87
87
/**
88
88
* @api
89
89
*/
90
- public function addConstant (Constant $ constant ) : self
90
+ public function addConstant (Constant $ constant ): self
91
91
{
92
92
$ this ->constants [] = $ constant ;
93
93
94
94
return $ this ;
95
95
}
96
96
97
- public function allConstants () : array
97
+ public function allConstants (): array
98
98
{
99
99
return $ this ->constants ;
100
100
}
101
101
102
102
/**
103
103
* @api
104
104
*/
105
- public function addMethod (Method $ method ) : self
105
+ public function addMethod (Method $ method ): self
106
106
{
107
107
$ this ->methods [] = $ method ;
108
108
109
109
return $ this ;
110
110
}
111
111
112
- public function allMethods () : array
112
+ public function allMethods (): array
113
113
{
114
114
return $ this ->methods ;
115
115
}
0 commit comments