Format code using php-cs-fixer

This commit is contained in:
jo 2021-10-11 16:10:47 +02:00
parent 43d7dc92cd
commit d52c6184b9
352 changed files with 17473 additions and 17041 deletions

View file

@ -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";
}
}