Release 2.12 (#4609)
This commit is contained in:
@@ -20,7 +20,7 @@ class InvoiceItemDefaultHydratorTest extends TestCase
|
||||
{
|
||||
use RendererTestTrait;
|
||||
|
||||
public function testHydrate()
|
||||
public function testHydrate(): void
|
||||
{
|
||||
$model = $this->getInvoiceModel();
|
||||
|
||||
@@ -36,7 +36,7 @@ class InvoiceItemDefaultHydratorTest extends TestCase
|
||||
$this->assertEntryStructure($result, $metaFields);
|
||||
}
|
||||
|
||||
protected function assertEntryStructure(array $model, array $metaFields)
|
||||
public function assertEntryStructure(array $model, array $metaFields): void
|
||||
{
|
||||
$keys = [
|
||||
'entry.row',
|
||||
|
||||
@@ -21,7 +21,7 @@ class InvoiceModelActivityHydratorTest extends TestCase
|
||||
{
|
||||
use RendererTestTrait;
|
||||
|
||||
public function testHydrate()
|
||||
public function testHydrate(): void
|
||||
{
|
||||
$model = $this->getInvoiceModel();
|
||||
|
||||
@@ -31,7 +31,7 @@ class InvoiceModelActivityHydratorTest extends TestCase
|
||||
$this->assertModelStructure($result);
|
||||
}
|
||||
|
||||
protected function assertModelStructure(array $model)
|
||||
public function assertModelStructure(array $model): void
|
||||
{
|
||||
$keys = [
|
||||
'activity.id',
|
||||
|
||||
@@ -21,7 +21,7 @@ class InvoiceModelProjectHydratorTest extends TestCase
|
||||
{
|
||||
use RendererTestTrait;
|
||||
|
||||
public function testHydrate()
|
||||
public function testHydrate(): void
|
||||
{
|
||||
$model = $this->getInvoiceModel();
|
||||
|
||||
@@ -31,7 +31,7 @@ class InvoiceModelProjectHydratorTest extends TestCase
|
||||
$this->assertModelStructure($result);
|
||||
}
|
||||
|
||||
protected function assertModelStructure(array $model)
|
||||
public function assertModelStructure(array $model): void
|
||||
{
|
||||
$keys = [
|
||||
'project.id',
|
||||
|
||||
@@ -20,7 +20,7 @@ class InvoiceModelUserHydratorTest extends TestCase
|
||||
{
|
||||
use RendererTestTrait;
|
||||
|
||||
public function testHydrate()
|
||||
public function testHydrate(): void
|
||||
{
|
||||
$model = $this->getInvoiceModel();
|
||||
|
||||
@@ -30,7 +30,7 @@ class InvoiceModelUserHydratorTest extends TestCase
|
||||
$this->assertModelStructure($result);
|
||||
}
|
||||
|
||||
protected function assertModelStructure(array $model)
|
||||
public function assertModelStructure(array $model): void
|
||||
{
|
||||
$keys = [
|
||||
'user.display',
|
||||
|
||||
Reference in New Issue
Block a user