File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ protected function fetchData(): array
43
43
$ response = $ crawler ->sendRequest ($ request );
44
44
45
45
if (self ::isXML ($ request ->getUri ())) {
46
- return self :: extractXML ((string ) $ response ->getBody ());
46
+ return $ this -> extractXML ((string ) $ response ->getBody ());
47
47
}
48
48
49
- return self :: extractJSON ((string ) $ response ->getBody ());
49
+ return $ this -> extractJSON ((string ) $ response ->getBody ());
50
50
}
51
51
52
52
private function detectEndpoint (): ?UriInterface
@@ -122,7 +122,7 @@ private static function isXML(UriInterface $uri): bool
122
122
return false ;
123
123
}
124
124
125
- private static function extractXML (string $ xml ): array
125
+ private function extractXML (string $ xml ): array
126
126
{
127
127
try {
128
128
$ data = [];
@@ -147,7 +147,7 @@ private static function extractXML(string $xml): array
147
147
}
148
148
}
149
149
150
- private static function extractJSON (string $ json ): array
150
+ private function extractJSON (string $ json ): array
151
151
{
152
152
try {
153
153
$ data = json_decode ($ json , true );
You can’t perform that action at this time.
0 commit comments