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

RonasIT / laravel-entity-generator / 17549149917

08 Sep 2025 11:24AM UTC coverage: 99.898% (-0.1%) from 100.0%
17549149917

Pull #183

github

web-flow
Merge 4e43ee110 into b5dd38cb0
Pull Request #183: refactor: unify prepareRelations into a single method

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

1 existing line in 1 file now uncovered.

975 of 976 relevant lines covered (99.9%)

7.73 hits per line

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

50.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
    }
28✔
14

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