Skip to content

Commit 3143cf3

Browse files
committed
test: add property types
1 parent 2b3b8ed commit 3143cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/system/ControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ public function testValidateWithStringRulesNotFound(): void
126126
public function testValidateWithStringRulesFoundReadMessagesFromValidationConfig(): void
127127
{
128128
$validation = new class () extends ValidationConfig {
129-
public $signup = [
129+
public array $signup = [
130130
'username' => 'required',
131131
];
132-
public $signup_errors = [
132+
public array $signup_errors = [
133133
'username' => [
134134
'required' => 'You must choose a username.',
135135
],
@@ -149,7 +149,7 @@ public function testValidateWithStringRulesFoundReadMessagesFromValidationConfig
149149
public function testValidateWithStringRulesFoundUseMessagesParameter(): void
150150
{
151151
$validation = new class () extends ValidationConfig {
152-
public $signup = [
152+
public array $signup = [
153153
'username' => 'required',
154154
];
155155
};

0 commit comments

Comments
 (0)