Failed Conditions
Push — master ( e75200...fab761 )
by Adrien
02:43
created

src/Model/Message.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ecodev\Felix\Model;
6
7
use Cake\Chronos\Chronos;
1 ignored issue
show
The type Cake\Chronos\Chronos was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use GraphQL\Doctrine\Attribute as API;
9
10
interface Message extends Model
11
{
12
    public function getSubject(): string;
13
14
    public function setSubject(string $subject): void;
15
16
    public function getBody(): string;
17
18
    public function setBody(string $body): void;
19
20
    public function getDateSent(): ?Chronos;
21
22
    /**
23
     * Set sent time.
24
     */
25
    #[Api\Exclude]
26
    public function setDateSent(?Chronos $dateSent): void;
27
28
    /**
29
     * Recipient email address.
30
     */
31
    public function getEmail(): string;
32
33
    /**
34
     * Recipient email address.
35
     */
36
    public function setEmail(string $email): void;
37
38
    /**
39
     * Get recipient.
40
     */
41
    public function getRecipient(): ?User;
42
43
    /**
44
     * Get type.
45
     */
46
    public function getType(): string;
47
}
48