File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class StationDto
36
36
protected $ backend ;
37
37
38
38
/**
39
- * @var string
39
+ * @var string|null
40
40
*/
41
41
protected $ listenUrl ;
42
42
@@ -62,7 +62,7 @@ class StationDto
62
62
* @param string $description
63
63
* @param string $frontend
64
64
* @param string $backend
65
- * @param string $listenUrl
65
+ * @param string|null $listenUrl
66
66
* @param bool $isPublic
67
67
* @param MountDto[] $mounts
68
68
* @param RemoteDto[] $remotes
@@ -74,7 +74,7 @@ public function __construct(
74
74
string $ description ,
75
75
string $ frontend ,
76
76
string $ backend ,
77
- string $ listenUrl ,
77
+ ? string $ listenUrl ,
78
78
bool $ isPublic ,
79
79
array $ mounts ,
80
80
array $ remotes
@@ -212,19 +212,19 @@ public function setBackend(string $backend): StationDto
212
212
}
213
213
214
214
/**
215
- * @return string
215
+ * @return string|null
216
216
*/
217
- public function getListenUrl (): string
217
+ public function getListenUrl (): ? string
218
218
{
219
219
return $ this ->listenUrl ;
220
220
}
221
221
222
222
/**
223
- * @param string $listenUrl
223
+ * @param string|null $listenUrl
224
224
*
225
225
* @return StationDto
226
226
*/
227
- public function setListenUrl (string $ listenUrl ): StationDto
227
+ public function setListenUrl (? string $ listenUrl ): StationDto
228
228
{
229
229
$ this ->listenUrl = $ listenUrl ;
230
230
You can’t perform that action at this time.
0 commit comments