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

RonasIT / laravel-entity-generator / 16521588794

25 Jul 2025 12:08PM UTC coverage: 100.0%. Remained the same
16521588794

Pull #170

github

web-flow
Merge ad95219ca into 3b878ef3f
Pull Request #170: feat: Generate property annotations for Model

22 of 22 new or added lines in 1 file covered. (100.0%)

932 of 932 relevant lines covered (100.0%)

11.54 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
    }
44✔
14

15
    public function toArray(): array
16
    {
17
        return get_object_vars($this);
12✔
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