@@ -17,7 +17,6 @@ |
||
| 17 | 17 | * SearchLimitException constructor. |
| 18 | 18 | * |
| 19 | 19 | * @param string $message |
| 20 | - * @param \Exception $previous |
|
| 21 | 20 | */ |
| 22 | 21 | public function __construct($message) |
| 23 | 22 | { |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: oleksiimylotskyi |
|
| 5 | - * Date: 2/8/16 |
|
| 6 | - * Time: 20:14 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: oleksiimylotskyi |
|
| 5 | + * Date: 2/8/16 |
|
| 6 | + * Time: 20:14 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace KWTClient\Exception; |
| 10 | 10 | |
@@ -43,7 +43,6 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Language, you want to get keyword suggestions for. |
| 45 | 45 | * |
| 46 | - * @param string $countryCode Two characters of country code |
|
| 47 | 46 | * |
| 48 | 47 | * @return $this |
| 49 | 48 | */ |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | */ |
| 109 | 109 | public function complete($flag = false) |
| 110 | 110 | { |
| 111 | - $this->addQueryParam('complete', !!$flag ? "true" : "false" ); |
|
| 111 | + $this->addQueryParam('complete', !!$flag ? "true" : "false"); |
|
| 112 | 112 | return $this; |
| 113 | 113 | } |
| 114 | 114 | |
@@ -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 | } |