Issues (27)

src/Response/GetClientProfilesResponse.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VasilDakov\Econt\Response;
6
7
use Doctrine\Common\Collections\ArrayCollection;
8
use JMS\Serializer\Annotation as Serializer;
9
10
final readonly class GetClientProfilesResponse
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY, expecting T_CLASS on line 10 at column 6
Loading history...
11
{
12
    #[Serializer\Type("ArrayCollection<VasilDakov\Econt\Model\ProfilesResponseElement>")]
13
    private ArrayCollection $profiles;
14
15 2
    public function __construct()
16
    {
17 2
        $this->profiles = new ArrayCollection();
18
    }
19
20 2
    public function getProfiles(): ArrayCollection
21
    {
22 2
        return $this->profiles;
23
    }
24
}
25