Skip to content

Add a table renderer #180

Add a table renderer

Add a table renderer #180

Triggered via pull request September 14, 2023 00:45
Status Failure
Total duration 26s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static-analysis.yml

on: pull_request
Static Analysis
17s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Static Analysis: src/Themes/Default/TableRenderer.php#L27
Parameter #1 $headers of method Symfony\Component\Console\Helper\Table::setHeaders() expects array, array<int, string>|Illuminate\Support\Collection<int, string> given.
Static Analysis: src/Themes/Default/TableRenderer.php#L28
Parameter #1 $rows of method Symfony\Component\Console\Helper\Table::setRows() expects array, array<int, string>|Illuminate\Support\Collection<int, string> given.
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $headers with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $headers with no value type specified in iterable type array.
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $headers with no value type specified in iterable type array|Illuminate\Support\Collection.
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $rows with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $rows with no value type specified in iterable type array.
Static Analysis: src/helpers.php#L146
Function Laravel\Prompts\table() has parameter $rows with no value type specified in iterable type array|Illuminate\Support\Collection.
Static Analysis
Process completed with exit code 1.