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

LeTraceurSnorkLibrary / MessSaga / 25921197134

15 May 2026 01:44PM UTC coverage: 41.107% (+4.5%) from 36.562%
25921197134

Pull #20

github

web-flow
Merge a78ef7498 into aac55fbb3
Pull Request #20: feat: tariffs

290 of 509 new or added lines in 31 files covered. (56.97%)

3 existing lines in 3 files now uncovered.

869 of 2114 relevant lines covered (41.11%)

0.78 hits per line

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

0.0
/app/Models/Tariff.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Models;
6

7
use Illuminate\Database\Eloquent\Factories\HasFactory;
8
use Illuminate\Database\Eloquent\Model;
9

10
class Tariff extends Model
11
{
12
    use HasFactory;
13

14
    /**
15
     * @var list<string>
16
     */
17
    protected $fillable = [
18
        'name',
19
        'label',
20
        'price',
21
        'max_storage_mb',
22
        'max_media_files_count',
23
    ];
24

25
    /**
26
     * @return array<string, string>
27
     */
28
    protected function casts(): array
29
    {
NEW
30
        return [
×
NEW
31
            'price'                 => 'decimal:2',
×
NEW
32
            'max_storage_mb'        => 'integer',
×
NEW
33
            'max_media_files_count' => 'integer',
×
NEW
34
        ];
×
35
    }
36
}
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