-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Updating from version 3 to version 4, I got the following exception:
In AnnotationLineConfigurator.php line 18:
[Error]
Typed property MyBuilder\Bundle\CronosBundle\Annotation\Cron::$hour must not be accessed before initialization
This is because now the property is typed and has no default value.
So, the following annotation stops working: @Cron(minute="/15")
I worked around it by explicating a * value for the hour, but this should made back-compatible OR noted in a changelog file.
Metadata
Metadata
Assignees
Labels
No labels