• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RonasIT / laravel-entity-generator / 15315608533

29 May 2025 03:31AM UTC coverage: 100.0%. Remained the same
15315608533

Pull #155

github

web-flow
Merge 93320b33e into 2dbd60a67
Pull Request #155: refactor: remove useless faker import

896 of 896 relevant lines covered (100.0%)

5.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/DTO/RelationsDTO.php
1
<?php
2

3
namespace RonasIT\Support\DTO;
4

5
readonly class RelationsDTO
6
{
7
    public function __construct(
8
        public array $hasOne = [],
9
        public array $hasMany = [],
10
        public array $belongsTo = [],
11
        public array $belongsToMany = [],
12
    ) {
13
    }
22✔
14

15
    public function toArray(): array
16
    {
17
        return get_object_vars($this);
6✔
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc