summaryrefslogtreecommitdiff
path: root/crawler/WebRequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/WebRequest.php')
-rw-r--r--crawler/WebRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/WebRequest.php b/crawler/WebRequest.php
index a72efc6..f25f31d 100644
--- a/crawler/WebRequest.php
+++ b/crawler/WebRequest.php
@@ -7,7 +7,7 @@
class WebRequest
{
- public function getContent($url)
+ public static function getContent($url): array
{
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');