| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function getRequests() |
||
| 38 | { |
||
| 39 | $url = 'http://www.time.com/api/%s?iso=%s'; |
||
| 40 | return [ |
||
| 41 | (new Request(sprintf($url, 'parsetime', (new \DateTime)->format(DATE_ISO8601)))) |
||
| 42 | ->withMethod('GET'), |
||
| 43 | (new Request(sprintf($url, 'unixtime', (new \DateTime)->format(DATE_ISO8601)))) |
||
| 44 | ->withMethod('GET'), |
||
| 45 | ]; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |