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
4343 $ response = $ crawler ->sendRequest ($ request );
4444
4545 if (self ::isXML ($ request ->getUri ())) {
46- return self :: extractXML ((string ) $ response ->getBody ());
46+ return $ this -> extractXML ((string ) $ response ->getBody ());
4747 }
4848
49- return self :: extractJSON ((string ) $ response ->getBody ());
49+ return $ this -> extractJSON ((string ) $ response ->getBody ());
5050 }
5151
5252 private function detectEndpoint (): ?UriInterface
@@ -122,7 +122,7 @@ private static function isXML(UriInterface $uri): bool
122122 return false ;
123123 }
124124
125- private static function extractXML (string $ xml ): array
125+ private function extractXML (string $ xml ): array
126126 {
127127 try {
128128 $ data = [];
@@ -147,7 +147,7 @@ private static function extractXML(string $xml): array
147147 }
148148 }
149149
150- private static function extractJSON (string $ json ): array
150+ private function extractJSON (string $ json ): array
151151 {
152152 try {
153153 $ data = json_decode ($ json , true );
You can’t perform that action at this time.
0 commit comments