Skip to content
Snippets Groups Projects
Commit 9af3fffa authored by pfrenssen's avatar pfrenssen Committed by Chris Leppanen
Browse files

Issue #1827780 by pfrenssen: Type hinting missing from...

Issue #1827780 by pfrenssen: Type hinting missing from hook_feeds_parser_sources_alter() callback example.
parent 0e79f07a
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ function hook_feeds_parser_sources_alter(&$sources, $content_type) {
* @see hook_feeds_parser_sources_alter()
* @see locale_feeds_get_source()
*/
function my_source_get_source($source, FeedsParserResult $result, $key) {
function my_source_get_source(FeedsSource $source, FeedsParserResult $result, $key) {
$item = $result->currentItem();
return my_source_parse_images($item['description']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment