Commit 644ee451 authored by Reena Raghavan's avatar Reena Raghavan Committed by Gabriele
Browse files

Issue #3297667 by reenaraghavan, Project Update Bot, gambry: Automated Drupal...

Issue #3297667 by reenaraghavan, Project Update Bot, gambry: Automated Drupal 10 compatibility fixes
parent f62ed3be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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)) {
@@ -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