Skip to content
Snippets Groups Projects
Commit 758797b6 authored by ivanbueno's avatar ivanbueno Committed by Brendan Jercich
Browse files

Issue #3304413 by ivanbueno, KarlShea: Incompatible with the latest migrate_plus 6.0.x

parent 23a0c22c
No related branches found
No related tags found
1 merge request!23378826 D10 compatibility added from patch by rimbu002
......@@ -32,7 +32,7 @@ class GoogleSheets extends Json implements ContainerFactoryPluginInterface {
/**
* {@inheritdoc}
*/
protected function getSourceData($url) {
protected function getSourceData(string $url): array {
// Since we're being explicit about the data location, we can return the
// array without calling getSourceIterator to get an iterator to find the
// correct values.
......@@ -72,7 +72,7 @@ class GoogleSheets extends Json implements ContainerFactoryPluginInterface {
/**
* {@inheritdoc}
*/
protected function fetchNextRow() {
protected function fetchNextRow(): void {
$current = $this->iterator->current();
if ($current) {
foreach ($this->fieldSelectors() as $field_name => $selector) {
......
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