Release 2.0.35 (#4302)

This commit is contained in:
Kevin Papst
2023-09-23 18:15:22 +02:00
committed by GitHub
parent de419350b2
commit 7a5b12762a
122 changed files with 1555 additions and 2054 deletions

View File

@@ -30,10 +30,10 @@ class DebugRendererTest extends TestCase
/**
* @dataProvider getTestModel
*/
public function testRender(InvoiceModel $model, $expectedRate, $expectedRows, $expectedDescriptions, $expectedUser1, $expectedUser2, $expectedUser3, $hasProject, $metaFields = [])
public function testRender(InvoiceModel $model, $expectedRate, $expectedRows, $expectedDescriptions, $expectedUser1, $expectedUser2, $expectedUser3, $hasProject, $metaFields = []): void
{
$itemHydrator = new class() implements InvoiceItemHydrator {
public function setInvoiceModel(InvoiceModel $model)
public function setInvoiceModel(InvoiceModel $model): void
{
}
@@ -75,7 +75,7 @@ class DebugRendererTest extends TestCase
self::assertEquals('21.03.12', $data['model']['invoice.last']);
}
protected function assertModelStructure(array $model, int $projectCounter = 0, int $activityCounter = 0)
protected function assertModelStructure(array $model, int $projectCounter = 0, int $activityCounter = 0): void
{
$keys = [
'invoice.due_date',
@@ -243,7 +243,7 @@ class DebugRendererTest extends TestCase
$this->assertEquals($keys, $givenKeys);
}
protected function assertEntryStructure(array $model, array $metaFields)
protected function assertEntryStructure(array $model, array $metaFields): void
{
$keys = [
'entry.row',