Skip to content

Commit 529aae4

Browse files
committed
Make CS check happy again
1 parent f66d156 commit 529aae4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Factories/WidgetFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function run()
2525

2626
$content = $this->getContentFromCache($args);
2727

28-
if ($timeout = (double) $this->getReloadTimeout()) {
28+
if ($timeout = (float) $this->getReloadTimeout()) {
2929
$content .= $this->javascriptFactory->getReloader($timeout);
3030
$content = $this->wrapContentInContainer($content);
3131
}
@@ -93,7 +93,7 @@ protected function getContent()
9393
*/
9494
protected function getContentFromCache($args)
9595
{
96-
if ($cacheTime = (double) $this->getCacheTime()) {
96+
if ($cacheTime = (float) $this->getCacheTime()) {
9797
return $this->app->cache($this->widget->cacheKey($args), $cacheTime, function () {
9898
return $this->getContent();
9999
});

0 commit comments

Comments
 (0)