Skip to content

Commit 49cb97d

Browse files
committed
ProjectData: use float type for duration.
1 parent 93f63d9 commit 49cb97d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ProjectData/ProjectData.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,18 @@ public function setCurrentScreenId($currentScreenId): ProjectData
168168
}
169169

170170
/**
171-
* @return int
171+
* @return float
172172
*/
173-
public function getDuration(): int
173+
public function getDuration(): float
174174
{
175175
return $this->duration;
176176
}
177177

178178
/**
179-
* @param int $duration
179+
* @param float $duration
180180
* @return ProjectData
181181
*/
182-
private function setDuration(int $duration): ProjectData
182+
private function setDuration(float $duration): ProjectData
183183
{
184184
$this->duration = $duration;
185185

0 commit comments

Comments
 (0)