Skip to content

Commit ecb3913

Browse files
committed
Boolean function can return null.
1 parent 78df8f8 commit ecb3913

17 files changed

+128
-434
lines changed

src/BigBlueButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function setTimeOut($TimeOutInSeconds)
455455
*
456456
* @param string $method
457457
* @param string $params
458-
* @param boolean $append
458+
* @param bool $append
459459
*
460460
* @return string
461461
*/

src/Core/Attendee.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ class Attendee
3838
private $role;
3939

4040
/**
41-
* @var boolean
41+
* @var bool
4242
*/
4343
private $isPresenter;
4444

4545
/**
46-
* @var boolean
46+
* @var bool
4747
*/
4848
private $isListeningOnly;
4949

5050
/**
51-
* @var boolean
51+
* @var bool
5252
*/
5353
private $hasJoinedVoice;
5454

5555
/**
56-
* @var boolean
56+
* @var bool
5757
*/
5858
private $hasVideo;
5959

@@ -115,31 +115,31 @@ public function getRole()
115115
}
116116

117117
/**
118-
* @return boolean
118+
* @return null|bool
119119
*/
120120
public function isPresenter()
121121
{
122122
return $this->isPresenter;
123123
}
124124

125125
/**
126-
* @return boolean
126+
* @return null|bool
127127
*/
128128
public function isListeningOnly()
129129
{
130130
return $this->isListeningOnly;
131131
}
132132

133133
/**
134-
* @return boolean
134+
* @return null|bool
135135
*/
136136
public function hasJoinedVoice()
137137
{
138138
return $this->hasJoinedVoice;
139139
}
140140

141141
/**
142-
* @return boolean
142+
* @return null|bool
143143
*/
144144
public function hasVideo()
145145
{

src/Core/Hook.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ class Hook
4646
private $callbackUrl;
4747

4848
/**
49-
* @var boolean
49+
* @var bool
5050
*/
5151
private $permanentHook;
5252

5353
/**
54-
* @var boolean
54+
* @var bool
5555
*/
5656
private $rawData;
5757

@@ -95,15 +95,15 @@ public function getCallbackUrl()
9595
}
9696

9797
/**
98-
* @return boolean
98+
* @return null|bool
9999
*/
100100
public function isPermanentHook()
101101
{
102102
return $this->permanentHook;
103103
}
104104

105105
/**
106-
* @return boolean
106+
* @return null|bool
107107
*/
108108
public function hasRawData()
109109
{

src/Core/Meeting.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ class Meeting
7171
private $moderatorPassword;
7272

7373
/**
74-
* @var boolean
74+
* @var bool
7575
*/
7676
private $hasBeenForciblyEnded;
7777

7878
/**
79-
* @var boolean
79+
* @var bool
8080
*/
8181
private $isRunning;
8282

@@ -106,7 +106,7 @@ class Meeting
106106
private $duration;
107107

108108
/**
109-
* @var boolean
109+
* @var bool
110110
*/
111111
private $hasUserJoined;
112112

@@ -116,7 +116,7 @@ class Meeting
116116
private $internalMeetingId;
117117

118118
/**
119-
* @var boolean
119+
* @var bool
120120
*/
121121
private $isRecording;
122122

@@ -151,7 +151,7 @@ class Meeting
151151
private $metas;
152152

153153
/**
154-
* @var boolean
154+
* @var bool
155155
*/
156156
private $isBreakout;
157157

@@ -253,15 +253,15 @@ public function getModeratorPassword()
253253
}
254254

255255
/**
256-
* @return boolean
256+
* @return null|bool
257257
*/
258258
public function hasBeenForciblyEnded()
259259
{
260260
return $this->hasBeenForciblyEnded;
261261
}
262262

263263
/**
264-
* @return boolean
264+
* @return null|bool
265265
*/
266266
public function isRunning()
267267
{
@@ -309,7 +309,7 @@ public function getDuration()
309309
}
310310

311311
/**
312-
* @return boolean
312+
* @return null|bool
313313
*/
314314
public function hasUserJoined()
315315
{
@@ -325,7 +325,7 @@ public function getInternalMeetingId()
325325
}
326326

327327
/**
328-
* @return boolean
328+
* @return null|bool
329329
*/
330330
public function isRecording()
331331
{

src/Core/Record.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getName()
104104
}
105105

106106
/**
107-
* @return boolean
107+
* @return null|bool
108108
*/
109109
public function isPublished()
110110
{

0 commit comments

Comments
 (0)