Format code using php-cs-fixer
This commit is contained in:
parent
43d7dc92cd
commit
d52c6184b9
352 changed files with 17473 additions and 17041 deletions
|
@ -7,9 +7,7 @@ class BitrateFormatter
|
|||
*/
|
||||
private $_bitrate;
|
||||
|
||||
/*
|
||||
* @param string $bitrate (bits per second)
|
||||
*/
|
||||
// @param string $bitrate (bits per second)
|
||||
public function __construct($bitrate)
|
||||
{
|
||||
$this->_bitrate = $bitrate;
|
||||
|
@ -20,9 +18,9 @@ class BitrateFormatter
|
|||
$kbps = bcdiv($this->_bitrate, 1000, 0);
|
||||
|
||||
if ($kbps == 0) {
|
||||
return "";
|
||||
} else {
|
||||
return "$kbps Kbps";
|
||||
return '';
|
||||
}
|
||||
|
||||
return "{$kbps} Kbps";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue