From e6cfbc135a3879322de6affcb5fd81f0c6843195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=B3l?= Date: Mon, 21 Mar 2016 14:20:55 +0100 Subject: [PATCH 1/2] Add return type hints --- src/Address/AddressInterface.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Address/AddressInterface.php b/src/Address/AddressInterface.php index 88299e86..f1b7a14d 100644 --- a/src/Address/AddressInterface.php +++ b/src/Address/AddressInterface.php @@ -11,7 +11,18 @@ interface AddressInterface { + /** + * @return string + */ public function getEmail(); + + /** + * @return string + */ public function getName(); + + /** + * @return string + */ public function toString(); } From b2f2ea462c6547e52e2aac1511080b0bb3969120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=B3l?= Date: Tue, 19 Apr 2016 10:50:42 +0200 Subject: [PATCH 2/2] Add method description --- src/Address/AddressInterface.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Address/AddressInterface.php b/src/Address/AddressInterface.php index f1b7a14d..2d232fa2 100644 --- a/src/Address/AddressInterface.php +++ b/src/Address/AddressInterface.php @@ -12,16 +12,22 @@ interface AddressInterface { /** + * Retrieve email + * * @return string */ public function getEmail(); /** + * Retrieve name + * * @return string */ public function getName(); /** + * String representation of address + * * @return string */ public function toString();