@@ -21,8 +21,8 @@ |
||
21 | 21 | */ |
22 | 22 | class SnapshotMeta implements |
23 | 23 | ModificationDateAwareEntityInterface, |
24 | - DraftableEntityInterface, |
|
25 | - Status\StatusAwareEntityInterface |
|
24 | + DraftableEntityInterface, |
|
25 | + Status\StatusAwareEntityInterface |
|
26 | 26 | { |
27 | 27 | use ModificationDateAwareEntityTrait, DraftableEntityTrait, Status\StatusAwareEntityTrait; |
28 | 28 | } |
@@ -69,7 +69,7 @@ |
||
69 | 69 | ? [ |
70 | 70 | 'type' => $coords->getType(), |
71 | 71 | 'coordinates' => $coords->getCoordinates(), |
72 | - ] |
|
72 | + ] |
|
73 | 73 | : null |
74 | 74 | |
75 | 75 | ]; |
@@ -14,12 +14,12 @@ |
||
14 | 14 | interface AddressInterface extends EntityInterface |
15 | 15 | { |
16 | 16 | |
17 | - /** |
|
18 | - * Postal Code of the Address. |
|
19 | - * |
|
20 | - * @param string $postalCode |
|
21 | - * @return AddressInterface |
|
22 | - */ |
|
17 | + /** |
|
18 | + * Postal Code of the Address. |
|
19 | + * |
|
20 | + * @param string $postalCode |
|
21 | + * @return AddressInterface |
|
22 | + */ |
|
23 | 23 | public function setPostalCode($postalCode); |
24 | 24 | public function getPostalCode(); |
25 | 25 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * |
18 | 18 | * @author Anthonius Munthi <[email protected]> |
19 | 19 | * @ODM\MappedSuperclass |
20 | - */ |
|
20 | + */ |
|
21 | 21 | abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface |
22 | 22 | { |
23 | 23 | use IdentifiableEntityTrait; |
@@ -61,8 +61,8 @@ |
||
61 | 61 | $file = $this->getFileEntity(); |
62 | 62 | |
63 | 63 | $file->setName($value['name']) |
64 | - ->setType($value['type']) |
|
65 | - ->setFile($value['tmp_name']); |
|
64 | + ->setType($value['type']) |
|
65 | + ->setFile($value['tmp_name']); |
|
66 | 66 | |
67 | 67 | return $file; |
68 | 68 | } |
@@ -52,10 +52,10 @@ |
||
52 | 52 | |
53 | 53 | if ($emailOrAddressOrList instanceof UserInterface) { |
54 | 54 | parent::updateAddressList( |
55 | - $addressList, |
|
56 | - $emailOrAddressOrList->getInfo()->getEmail(), |
|
57 | - $emailOrAddressOrList->getInfo()->getDisplayName(false), |
|
58 | - $callingMethod |
|
55 | + $addressList, |
|
56 | + $emailOrAddressOrList->getInfo()->getEmail(), |
|
57 | + $emailOrAddressOrList->getInfo()->getDisplayName(false), |
|
58 | + $callingMethod |
|
59 | 59 | ); |
60 | 60 | return; |
61 | 61 | } |
@@ -131,7 +131,7 @@ |
||
131 | 131 | { |
132 | 132 | $viewModel = new ViewModel(); |
133 | 133 | $viewModel->setTemplate('error/index') |
134 | - ->setVariable('message', 'An unexpected error had occured. Please try again later.'); |
|
134 | + ->setVariable('message', 'An unexpected error had occured. Please try again later.'); |
|
135 | 135 | return $viewModel; |
136 | 136 | } |
137 | 137 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | $response->getHeaders()->addHeaderline('Content-Type', $file->type) |
35 | - ->addHeaderline('Content-Length', $file->size); |
|
35 | + ->addHeaderline('Content-Length', $file->size); |
|
36 | 36 | $response->sendHeaders(); |
37 | 37 | |
38 | 38 | $resource = $file->getResource(); |
@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | $adapter->setParams($params); |
83 | 83 | $paginator->setCurrentPageNumber($params->get('page', 1)) |
84 | - ->setItemCountPerPage($params->get('count', 10)); |
|
84 | + ->setItemCountPerPage($params->get('count', 10)); |
|
85 | 85 | |
86 | 86 | return $paginator; |
87 | 87 | } |