Add pdf detailed report and placeholder for aggregate endpoint #820
Annotations
9 errors
Run PHPStan:
app/Http/Controllers/Api/V1/TimeEntryController.php#L193
Parameter #1 $string of static method Illuminate\Support\Facades\Blade::render() expects string, string|false given.
|
Run PHPStan:
app/Http/Controllers/Api/V1/TimeEntryController.php#L195
Parameter #1 $string of static method Illuminate\Support\Facades\Blade::render() expects string, string|false given.
|
Run PHPStan:
app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L33
Method App\Http\Requests\V1\TimeEntry\TimeEntryAggregateExportRequest::rules() return type has no value type specified in iterable type array.
|
Run PHPStan:
app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L33
PHPDoc tag @return with type Illuminate\Contracts\Validation\ValidationRule is incompatible with native type array.
|
Run PHPStan:
app/Service/ReportExport/TimeEntriesDetailedCsvExport.php#L36
Method App\Service\ReportExport\TimeEntriesDetailedCsvExport::mapRow() should return array<string, Illuminate\Support\Carbon|string|null> but returns array<string, float|string|null>.
|
Run PHPStan:
app/Service/ReportExport/TimeEntriesDetailedExport.php#L55
Method App\Service\ReportExport\TimeEntriesDetailedExport::columnFormats() return type has no value type specified in iterable type array.
|
Run PHPStan:
app/Service/ReportExport/TimeEntriesDetailedExport.php#L84
Method App\Service\ReportExport\TimeEntriesDetailedExport::defaultStyles() return type has no value type specified in iterable type array.
|
Run PHPStan:
app/Service/ReportExport/TimeEntriesDetailedExport.php#L87
Method App\Service\ReportExport\TimeEntriesDetailedExport::defaultStyles() should return array|void but returns PhpOffice\PhpSpreadsheet\Style\Fill.
|
Run PHPStan
Process completed with exit code 1.
|
Loading