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

nepada / file-upload-control / 9738314049

01 Jul 2024 04:43AM UTC coverage: 90.293%. Remained the same
9738314049

Pull #158

github

web-flow
Merge bbbdee319 into cb835c645
Pull Request #158: Bump the phpstan group with 2 updates

679 of 752 relevant lines covered (90.29%)

0.9 hits per line

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

66.67
/src/FileUploadControl/Storage/FileUploadItem.php
1
<?php
2
declare(strict_types = 1);
3

4
namespace Nepada\FileUploadControl\Storage;
5

6
use Nette;
7

8
final class FileUploadItem
9
{
10

11
    use Nette\SmartObject;
12

13
    public readonly FileUploadId $id;
14

15
    public readonly Nette\Http\FileUpload $fileUpload;
16

17
    public function __construct(FileUploadId $id, Nette\Http\FileUpload $fileUpload)
1✔
18
    {
19
        $this->id = $id;
1✔
20
        $this->fileUpload = $fileUpload;
1✔
21
    }
1✔
22

23
    /**
24
     * @deprecated read the property directly instead
25
     */
26
    public function getId(): FileUploadId
27
    {
28
        return $this->id;
×
29
    }
30

31
    /**
32
     * @deprecated read the property directly instead
33
     */
34
    public function getFileUpload(): Nette\Http\FileUpload
35
    {
36
        return $this->fileUpload;
×
37
    }
38

39
}
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