Skip to content

Type mismatch when providing show-run-dates argument to ts:list #53

Description

@marcin-jozwikowski

Running the ts:list command with --show-run-dates set to any value causes type mismatch error between int and string.

bin/console ts:list --show-run-dates=5
In AbstractScheduledTask.php line 39:

  Rewieer\TaskSchedulerBundle\Task\AbstractScheduledTask::getNextRunDates(): 
     Argument #1 ($counter) must be of type int, string given, called in 
     /var/www/vendor/rewieer/taskschedulerbundle/Command/ListCommand.php on line 63

ts:list [--show-run-dates [SHOW-RUN-DATES]]

A solution is already implemented and will be available in a PR in couple of minutes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions