File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public function __construct()
121
121
*/
122
122
public function __toString ()
123
123
{
124
- return $ this ->reference ;
124
+ return $ this ->reference ?: '' ;
125
125
}
126
126
127
127
/**
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public function __construct($lang = null)
114
114
*/
115
115
public function __toString ()
116
116
{
117
- return $ this ->lang ;
117
+ return $ this ->lang ?: '' ;
118
118
}
119
119
120
120
/**
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public function getTranslation($lang)
199
199
*/
200
200
public function __toString ()
201
201
{
202
- return $ this ->reference ;
202
+ return $ this ->reference ?: '' ;
203
203
}
204
204
205
205
/**
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function __construct($lang = null)
81
81
*/
82
82
public function __toString ()
83
83
{
84
- return $ this ->lang ;
84
+ return $ this ->lang ?: '' ;
85
85
}
86
86
87
87
/**
You can’t perform that action at this time.
0 commit comments