Just a small code improvement to System - Schema.org plugin. We can use the container from local variable $container to get database service instead of calling Factory::getContainer() to get the container.
Testing Instructions
Code review should be enough
For human testing :
Use Joomla 5.1
Add or edit an article, select one Schema Type for that article in Schema tab and enter data, save it and make sure no error happens.
Actual result BEFORE applying this Pull Request
Works !
Expected result AFTER applying this Pull Request
Works !
Link to documentations
Please select:
No documentation changes for docs.joomla.org needed
No documentation changes for manual.joomla.org needed
I have tested this item ✅ successfully on 7bd0563
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42868.