-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxInstances Annotation produces error #27
Comments
PandyLegend
added a commit
to PandyLegend/cron-bundle
that referenced
this issue
Apr 29, 2020
PandyLegend
added a commit
to PandyLegend/cron-bundle
that referenced
this issue
Apr 29, 2020
PandyLegend
added a commit
to PandyLegend/cron-bundle
that referenced
this issue
Apr 30, 2020
Thanks for your PR. I'll take a look by time. |
Test it if you want and then close this issue. thank you :) |
All seems good! Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using maxInstances in the annotation, such as
@CronJob("*\/5 * * * *",maxInstances=2)
upon running
php bin/console shapecode:cron:scan
I get the following error:As far as I can tell, the code in src/Annotation/CronJob.php is correct and I even get the typehint for maxInstances in PHPStorm.
As this doesn't appear in the docs, it's possible that I am doing something wrong - if so, could you advise and update the docs accordingly?
Thanks
The text was updated successfully, but these errors were encountered: