@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | foreach ($this->decodedRaw->results as $k=>$res) { |
52 | 52 | if ($k == '_empty_') { |
53 | 53 | $this->keywords[] = ['kw'=>$res[0]->string, |
54 | - 'vol'=>intval($res[0]->volume)]; |
|
54 | + 'vol'=>intval($res[0]->volume)]; |
|
55 | 55 | continue; |
56 | 56 | } |
57 | 57 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $volume = intval($keyword->volume) > 0 ? intval($keyword->volume) : 0; |
62 | 62 | } |
63 | 63 | $this->keywords[] = ['kw'=>$keyword->string, |
64 | - 'vol'=>$volume]; |
|
64 | + 'vol'=>$volume]; |
|
65 | 65 | } |
66 | 66 | } |
67 | 67 | } |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public function getKeywords() |
74 | 74 | { |
75 | - $this->initKeywordsData(); |
|
76 | - return $this->keywords; |
|
75 | + $this->initKeywordsData(); |
|
76 | + return $this->keywords; |
|
77 | 77 | } |
78 | 78 | } |