Loading migrate_source_html.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ description: 'Migrate remote HTML pages into Drupal entities.' package: 'Migration' type: module core: 8.x core_version_requirement: ^8 || ^9 core_version_requirement: ^8 || ^9 || ^10 dependencies: - migrate_plus:migrate_plus src/Plugin/migrate_plus/data_parser/Html.php +2 −2 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class Html extends DataParserPluginBase { /** * {@inheritdoc} */ protected function openSourceUrl($url) { protected function openSourceUrl(string $url) :bool { $content = $this->getDataFetcherPlugin()->getResponseContent($url); if (empty($content)) { Loading @@ -75,7 +75,7 @@ class Html extends DataParserPluginBase { /** * {@inheritdoc} */ protected function fetchNextRow() { protected function fetchNextRow() :void { $target_element = array_shift($this->matches); // If we've found the desired element, populate the currentItem and Loading Loading
migrate_source_html.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ description: 'Migrate remote HTML pages into Drupal entities.' package: 'Migration' type: module core: 8.x core_version_requirement: ^8 || ^9 core_version_requirement: ^8 || ^9 || ^10 dependencies: - migrate_plus:migrate_plus
src/Plugin/migrate_plus/data_parser/Html.php +2 −2 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class Html extends DataParserPluginBase { /** * {@inheritdoc} */ protected function openSourceUrl($url) { protected function openSourceUrl(string $url) :bool { $content = $this->getDataFetcherPlugin()->getResponseContent($url); if (empty($content)) { Loading @@ -75,7 +75,7 @@ class Html extends DataParserPluginBase { /** * {@inheritdoc} */ protected function fetchNextRow() { protected function fetchNextRow() :void { $target_element = array_shift($this->matches); // If we've found the desired element, populate the currentItem and Loading