@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * |
| 18 | - |
|
| 19 | 18 | */ |
| 20 | 19 | interface FileInterface extends |
| 21 | 20 | IdentifiableEntityInterface, |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | if (!is_callable($callback)) { |
| 73 | 73 | throw new \BadMethodCallException(sprintf( |
| 74 | 74 | 'Proxy error: Method "%s" does not exist in proxied "%s"', |
| 75 | - $method, |
|
| 75 | + $method, |
|
| 76 | 76 | get_class($entity) |
| 77 | 77 | )); |
| 78 | 78 | } |
@@ -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 | } |