File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,6 @@ public function getTypeHint(): ?string
73
73
}
74
74
75
75
76
- /**
77
- * @deprecated just use setDefaultValue()
78
- */
79
- public function setOptional (bool $ state = true ): static
80
- {
81
- trigger_error (__METHOD__ . '() is deprecated, use setDefaultValue() ' , E_USER_DEPRECATED );
82
- $ this ->hasDefaultValue = $ state ;
83
- return $ this ;
84
- }
85
-
86
-
87
76
public function setNullable (bool $ state = true ): static
88
77
{
89
78
$ this ->nullable = $ state ;
Original file line number Diff line number Diff line change @@ -157,12 +157,4 @@ public function getReturnNullable(): bool
157
157
{
158
158
return $ this ->returnNullable ;
159
159
}
160
-
161
-
162
- /** @deprecated */
163
- public function setNamespace (?Nette \PhpGenerator \PhpNamespace $ val = null ): static
164
- {
165
- trigger_error (__METHOD__ . '() is deprecated ' , E_USER_DEPRECATED );
166
- return $ this ;
167
- }
168
160
}
You can’t perform that action at this time.
0 commit comments