@@ -14,8 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace Gpupo\NetshoesSdk\Entity\Order; |
| 16 | 16 | |
| 17 | -use DateInterval; |
|
| 18 | -use DateTime; |
|
| 19 | 17 | use Gpupo\CommonSdk\Entity\EntityInterface; |
| 20 | 18 | use Gpupo\CommonSdk\Response; |
| 21 | 19 | use Gpupo\CommonSdk\Traits\LoadTrait; |
@@ -44,6 +44,9 @@ discard block |
||
| 44 | 44 | return $datetime->format('c'); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $key |
|
| 49 | + */ |
|
| 47 | 50 | protected function dateGet($key) |
| 48 | 51 | { |
| 49 | 52 | $value = $this->get($key); |
@@ -55,6 +58,9 @@ discard block |
||
| 55 | 58 | } |
| 56 | 59 | } |
| 57 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $move |
|
| 63 | + */ |
|
| 58 | 64 | protected function dateMove($move) |
| 59 | 65 | { |
| 60 | 66 | $date = new DateTime(); |