| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 20 | public function searchPersonRequest($searchTerm) { |
||
| 21 | $response = Request::get($this->apiUrl . '/expanded-search/?q=' . $this->searchTermReplacement($searchTerm)) |
||
| 22 | ->expectsJson() |
||
| 23 | ->addHeader('Accept','*/*') |
||
| 24 | ->addHeader('Content-Type', 'application/vnd.orcid+json') |
||
| 25 | ->send(); |
||
| 26 | |||
| 27 | return ['entries' => $response->body->{'expanded-result'}]; |
||
| 28 | } |
||
| 40 | } |