Compare commits
2 Commits
9e8432999b
...
9a6d7a9284
Author | SHA1 | Date | |
---|---|---|---|
9a6d7a9284 | |||
fab4b98787 |
@ -89,7 +89,7 @@ abstract class Formatter implements UsageInformationAble {
|
||||
*/
|
||||
public static function formatTimeH($seconds) {
|
||||
$hrs = floor($seconds / 3600);
|
||||
$mins = intval(($seconds / 60) % 60);
|
||||
$mins = intval(floor(($seconds / 60) % 60));
|
||||
$sec = intval($seconds % 60);
|
||||
|
||||
$hrs = str_pad($hrs, 2, '0', STR_PAD_LEFT);
|
||||
|
@ -73,7 +73,7 @@ class CheckBoxDesign implements Imageable, Styleable, SubStyleable
|
||||
public function setStyle($style)
|
||||
{
|
||||
$this->style = (string)$style;
|
||||
$this->url = null;
|
||||
$this->imageUrl = null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ class CheckBoxDesign implements Imageable, Styleable, SubStyleable
|
||||
public function setSubStyle($subStyle)
|
||||
{
|
||||
$this->subStyle = (string)$subStyle;
|
||||
$this->url = null;
|
||||
$this->imageUrl = null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user