Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
migrate_google_sheets
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
migrate_google_sheets
Commits
758797b6
Commit
758797b6
authored
1 year ago
by
ivanbueno
Committed by
Brendan Jercich
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3304413
by ivanbueno, KarlShea: Incompatible with the latest migrate_plus 6.0.x
parent
23a0c22c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
3378826 D10 compatibility added from patch by rimbu002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/migrate_plus/data_parser/GoogleSheets.php
+2
-2
2 additions, 2 deletions
src/Plugin/migrate_plus/data_parser/GoogleSheets.php
with
2 additions
and
2 deletions
src/Plugin/migrate_plus/data_parser/GoogleSheets.php
+
2
−
2
View file @
758797b6
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment