-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImplementationErrorWarning.php
More file actions
53 lines (42 loc) · 1.08 KB
/
Copy pathImplementationErrorWarning.php
File metadata and controls
53 lines (42 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
declare(strict_types=1);
namespace tests;
use Rancoud\Model\ErrorWarning;
/**
* @internal
*/
class ImplementationErrorWarning extends ErrorWarning
{
public function addErrorMessage(string $error): void
{
parent::addErrorMessage($error);
}
public function resetErrorMessage(): void
{
parent::resetErrorMessage();
}
public function addWarningMessage(string $warning): void
{
parent::addWarningMessage($warning);
}
public function resetWarningMessage(): void
{
parent::resetWarningMessage();
}
public function addErrorField(string $field, string $reasons): void
{
parent::addErrorField($field, $reasons);
}
public function resetErrorField(?string $field = null): void
{
parent::resetErrorField($field);
}
public function addWarningField(string $field, string $reasons): void
{
parent::addWarningField($field, $reasons);
}
public function resetWarningField(?string $field = null): void
{
parent::resetWarningField($field);
}
}