| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | 2 | public static function fromAmazonRequest(array $amazonRequest): AbstractRequest |
|
| 36 | { |
||
| 37 | 2 | return new self( |
|
| 38 | 2 | timestamp: self::getTime(PropertyHelper::checkNullValueStringOrInt($amazonRequest, 'timestamp')), |
|
| 39 | 2 | requestId: PropertyHelper::checkNullValueString($amazonRequest, 'requestId'), |
|
| 40 | 2 | locale: PropertyHelper::checkNullValueString($amazonRequest, 'locale'), |
|
| 41 | 2 | ); |
|
| 44 |