@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * |
17 | 17 | * @return \DateTime |
18 | 18 | */ |
19 | - public function getObjectCreated() |
|
19 | + public function getObjectCreated () |
|
20 | 20 | { |
21 | 21 | return $this->attributes->mayHave('object_created')->asInstanceOf('\\DateTime'); |
22 | 22 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @return \DateTime |
28 | 28 | */ |
29 | - public function getObjectUpdated() |
|
29 | + public function getObjectUpdated () |
|
30 | 30 | { |
31 | 31 | return $this->attributes->mayHave('object_updated')->asInstanceOf('\\DateTime'); |
32 | 32 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @return \DateTime |
38 | 38 | */ |
39 | - public function getStatusDate() |
|
39 | + public function getStatusDate () |
|
40 | 40 | { |
41 | 41 | return $this->attributes->mayHave('status_date')->asInstanceOf('\\DateTime'); |
42 | 42 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * |
47 | 47 | * @return string |
48 | 48 | */ |
49 | - public function getObjectId() |
|
49 | + public function getObjectId () |
|
50 | 50 | { |
51 | 51 | return $this->attributes->mayHave('object_id')->asString(); |
52 | 52 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @return string |
66 | 66 | */ |
67 | - public function getStatus() |
|
67 | + public function getStatus () |
|
68 | 68 | { |
69 | 69 | return $this->attributes->mayHave('status')->asString(); |
70 | 70 | } |
@@ -72,13 +72,13 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * @return Location |
74 | 74 | */ |
75 | - public function getLocation() |
|
75 | + public function getLocation () |
|
76 | 76 | { |
77 | 77 | $attributes = $this->attributes->mayHave('location')->asArray(); |
78 | 78 | return new Location($attributes); |
79 | 79 | } |
80 | 80 | |
81 | - public function toArray() |
|
81 | + public function toArray () |
|
82 | 82 | { |
83 | 83 | return [ |
84 | 84 | 'object_created' => $this->getObjectCreated(), |