Skip to content

Commit

Permalink
Boolean function can return null.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhaziTriki committed Jun 17, 2022
1 parent 78df8f8 commit ecb3913
Show file tree
Hide file tree
Showing 17 changed files with 128 additions and 434 deletions.
2 changes: 1 addition & 1 deletion src/BigBlueButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public function setTimeOut($TimeOutInSeconds)
*
* @param string $method
* @param string $params
* @param boolean $append
* @param bool $append
*
* @return string
*/
Expand Down
16 changes: 8 additions & 8 deletions src/Core/Attendee.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@ class Attendee
private $role;

/**
* @var boolean
* @var bool
*/
private $isPresenter;

/**
* @var boolean
* @var bool
*/
private $isListeningOnly;

/**
* @var boolean
* @var bool
*/
private $hasJoinedVoice;

/**
* @var boolean
* @var bool
*/
private $hasVideo;

Expand Down Expand Up @@ -115,31 +115,31 @@ public function getRole()
}

/**
* @return boolean
* @return null|bool
*/
public function isPresenter()
{
return $this->isPresenter;
}

/**
* @return boolean
* @return null|bool
*/
public function isListeningOnly()
{
return $this->isListeningOnly;
}

/**
* @return boolean
* @return null|bool
*/
public function hasJoinedVoice()
{
return $this->hasJoinedVoice;
}

/**
* @return boolean
* @return null|bool
*/
public function hasVideo()
{
Expand Down
8 changes: 4 additions & 4 deletions src/Core/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ class Hook
private $callbackUrl;

/**
* @var boolean
* @var bool
*/
private $permanentHook;

/**
* @var boolean
* @var bool
*/
private $rawData;

Expand Down Expand Up @@ -95,15 +95,15 @@ public function getCallbackUrl()
}

/**
* @return boolean
* @return null|bool
*/
public function isPermanentHook()
{
return $this->permanentHook;
}

/**
* @return boolean
* @return null|bool
*/
public function hasRawData()
{
Expand Down
18 changes: 9 additions & 9 deletions src/Core/Meeting.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ class Meeting
private $moderatorPassword;

/**
* @var boolean
* @var bool
*/
private $hasBeenForciblyEnded;

/**
* @var boolean
* @var bool
*/
private $isRunning;

Expand Down Expand Up @@ -106,7 +106,7 @@ class Meeting
private $duration;

/**
* @var boolean
* @var bool
*/
private $hasUserJoined;

Expand All @@ -116,7 +116,7 @@ class Meeting
private $internalMeetingId;

/**
* @var boolean
* @var bool
*/
private $isRecording;

Expand Down Expand Up @@ -151,7 +151,7 @@ class Meeting
private $metas;

/**
* @var boolean
* @var bool
*/
private $isBreakout;

Expand Down Expand Up @@ -253,15 +253,15 @@ public function getModeratorPassword()
}

/**
* @return boolean
* @return null|bool
*/
public function hasBeenForciblyEnded()
{
return $this->hasBeenForciblyEnded;
}

/**
* @return boolean
* @return null|bool
*/
public function isRunning()
{
Expand Down Expand Up @@ -309,7 +309,7 @@ public function getDuration()
}

/**
* @return boolean
* @return null|bool
*/
public function hasUserJoined()
{
Expand All @@ -325,7 +325,7 @@ public function getInternalMeetingId()
}

/**
* @return boolean
* @return null|bool
*/
public function isRecording()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getName()
}

/**
* @return boolean
* @return null|bool
*/
public function isPublished()
{
Expand Down
Loading

0 comments on commit ecb3913

Please sign in to comment.