From a7584b396bc3f6efd26b72e244924df284cae1e2 Mon Sep 17 00:00:00 2001 From: Xavier Roussel Date: Fri, 9 Nov 2018 11:22:18 +0100 Subject: [PATCH] Fix intruduced bug --- src/Resources/Extractors/EutilsEfetch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Extractors/EutilsEfetch.php b/src/Resources/Extractors/EutilsEfetch.php index 939d01f..bcfc0e4 100644 --- a/src/Resources/Extractors/EutilsEfetch.php +++ b/src/Resources/Extractors/EutilsEfetch.php @@ -89,7 +89,7 @@ public function extractUpdatesData(): void */ protected function getUpdateFromCorrection($correction): void { - if (in_array(stringify($correction['RefType']), array_keys($this->updateTypes))) { + if (in_array(stringify($correction['RefType']), array_keys(UpdateTypesStandardiser::TYPES_MAP))) { $this->resourceOutput['updates'][] = [ 'timestamp' => $this->getUpdateTimestamp(stringify($correction->RefSource)), 'identifier' => [