File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public static function from($from)
90
90
}
91
91
92
92
93
- public function __construct ($ name = NULL , PhpNamespace $ namespace = NULL )
93
+ public function __construct ($ name = '' , PhpNamespace $ namespace = NULL )
94
94
{
95
95
$ this ->setName ($ name );
96
96
$ this ->namespace = $ namespace ;
@@ -141,7 +141,7 @@ public function __toString()
141
141
142
142
143
143
/**
144
- * @return PhpNamespace
144
+ * @return PhpNamespace|NULL
145
145
*/
146
146
public function getNamespace ()
147
147
{
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ public function setVisibility($val)
287
287
288
288
289
289
/**
290
- * @return string
290
+ * @return string|NULL
291
291
*/
292
292
public function getVisibility ()
293
293
{
Original file line number Diff line number Diff line change 16
16
class Parameter extends Nette \Object
17
17
{
18
18
/** @var string */
19
- private $ name ;
19
+ private $ name = '' ;
20
20
21
21
/** @var bool */
22
22
private $ reference = FALSE ;
Original file line number Diff line number Diff line change 16
16
class Property extends Nette \Object
17
17
{
18
18
/** @var string */
19
- private $ name ;
19
+ private $ name = '' ;
20
20
21
21
/** @var mixed */
22
22
public $ value ;
You can’t perform that action at this time.
0 commit comments