Release 2.12 (#4609)
This commit is contained in:
@@ -18,7 +18,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class RoundingServiceTest extends TestCase
|
||||
{
|
||||
public function testCalculateWithEmptyEnd()
|
||||
public function testCalculateWithEmptyEnd(): void
|
||||
{
|
||||
$record = new Timesheet();
|
||||
$record->setBegin(new \DateTime());
|
||||
@@ -32,7 +32,7 @@ class RoundingServiceTest extends TestCase
|
||||
/**
|
||||
* @dataProvider getTestData
|
||||
*/
|
||||
public function testCalculate($rules, $start, $end, $expectedStart, $expectedEnd, $expectedDuration)
|
||||
public function testCalculate($rules, $start, $end, $expectedStart, $expectedEnd, $expectedDuration): void
|
||||
{
|
||||
$record = new Timesheet();
|
||||
$record->setBegin($start);
|
||||
|
||||
Reference in New Issue
Block a user