From e9a75e18860a20a7510229d9467a1af87ba4f7b3 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 8 Mar 2020 23:37:31 +0100 Subject: Fix accept header in crawler --- src/phinde/Fetcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/phinde/Fetcher.php') diff --git a/src/phinde/Fetcher.php b/src/phinde/Fetcher.php index 7cf11b7..666d7ed 100644 --- a/src/phinde/Fetcher.php +++ b/src/phinde/Fetcher.php @@ -29,7 +29,7 @@ class Fetcher $types = array(); foreach ($actions as $action) { - $types = array_merge($action::$supportedTypes); + $types = array_merge($types, array_keys($action::$supportedTypes)); } $types = array_unique($types); -- cgit v1.2.3