| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 18 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 27 | public function getTag($tag) | ||
| 28 |     { | ||
| 29 | //add settings | ||
| 30 | $this->ModelSettings(); | ||
| 31 | |||
| 32 |         $tag = str_replace('#', '', $tag); | ||
| 33 | |||
| 34 |         if (! $tag) { | ||
| 35 | return [ | ||
| 36 | 'success' => false, | ||
| 37 | 'result' => null, | ||
| 38 |                 'info' => __('tiktok::tiktok.error_tag'), | ||
| 39 | ]; | ||
| 40 | } | ||
| 41 | |||
| 42 | $response = $this->getResponse($this->url.$tag); | ||
| 43 | |||
| 44 | return $response; | ||
| 45 | } | ||
| 74 |