Closed (fixed)
Project:
Brightcove Video Connect
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2019 at 07:18 UTC
Updated:
1 Nov 2021 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
sahana _n commentedLooks good to me. And patch applied successfully.
Comment #4
yce commentedHi, I've reviewed your changes, it still needs some work. Please also make sure that in a method you call a specific method only once, for example
$this->messenger()should be stored in a variable in some places to avoid multiple method call for the same thing within the same scope.Please provide the alternative solution suggested by core.
Please use the link_generator service instead of calling the link generator in a procedural way.
The messenger is used here in multiple places, please get the messenger once and put it into a variable then used that.
The best would be to use DI, not sure if it would be ok to pass the messenger as the method's argument.
Please use the link_generator service instead of calling the link generator in a procedural way.
Comment #5
sahana _n commentedUpdated the patch please review.
Comment #6
gobinathmIssue #3146320 pretty much fixes everything. Maybe we close this in favor of that?
Comment #7
yce commentedYes, thanks! Closing the ticket now.