diff --git a/dev/DataSource/Mapping/LanguageSubTagMapping.php b/dev/DataSource/Mapping/LanguageSubTagMapping.php index bb5d5d11..2a6c0b03 100644 --- a/dev/DataSource/Mapping/LanguageSubTagMapping.php +++ b/dev/DataSource/Mapping/LanguageSubTagMapping.php @@ -31,11 +31,11 @@ public static function toDataSet(Client $client, Crawler $crawler): array { $dataSet = []; foreach (explode('%%', $client->getPageSource()) as $i => $item) { - if($i === 0) { + if ($i === 0) { continue; } - if(preg_match_all('/(?P[A-Za-z-]+): (?P.+)/', $item, $matches, PREG_SET_ORDER) <= 0) { + if (preg_match_all('/(?P[A-Za-z-]+): (?P.+)/', $item, $matches, PREG_SET_ORDER) <= 0) { throw new InvalidArgumentException('Invalid record encountered'); }