Commit 14ee636
committed
minor #18156 Task object instead of id as param (hbgamra)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead.
Discussion
----------
Task object instead of id as param
Thanks to Paramconverter we can get Task object directly instead of putting the $id and we can throw automatically an exception if the task was not found
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
226f4b9 Task object instead of id as param1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
| 601 | + | |
602 | 602 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | 603 | | |
608 | 604 | | |
609 | 605 | | |
| |||
0 commit comments