@@ -26,9 +26,8 @@ public function __construct(MailjetService $mailjet)
2626
2727 /**
2828 * Retrieve all ContactMetadata.
29- *
3029 * @return array
31- * @throws \Mailjet\LaravelMailjet\Exception\ MailjetException
30+ * @throws MailjetException
3231 */
3332 public function getAll (): array
3433 {
@@ -43,11 +42,9 @@ public function getAll(): array
4342
4443 /**
4544 * Retrieve one ContactMetadata.
46- *
4745 * @param string $id
48- *
4946 * @return array
50- * @throws \Mailjet\LaravelMailjet\Exception\ MailjetException
47+ * @throws MailjetException
5148 */
5249 public function get (string $ id ): array
5350 {
@@ -62,10 +59,9 @@ public function get(string $id): array
6259
6360 /**
6461 * create a new fresh ContactMetadata
65- *
6662 * @param ContactMetadata $metadata
67- *
68- * @throws \Mailjet\LaravelMailjet\Exception\ MailjetException
63+ * @return array
64+ * @throws MailjetException
6965 */
7066 public function create (ContactMetadata $ metadata ): array
7167 {
@@ -80,11 +76,10 @@ public function create(ContactMetadata $metadata): array
8076
8177 /**
8278 * Update one ContactMetadata
83- *
84- * @param string $id
79+ * @param string $id
8580 * @param ContactMetadata $metadata
86- *
87- * @throws \Mailjet\LaravelMailjet\Exception\ MailjetException
81+ * @return array
82+ * @throws MailjetException
8883 */
8984 public function update (string $ id , ContactMetadata $ metadata ): array
9085 {
@@ -99,10 +94,9 @@ public function update(string $id, ContactMetadata $metadata): array
9994
10095 /**
10196 * Delete one ContactMetadata
102- *
10397 * @param string $id
104- *
105- * @throws \Mailjet\LaravelMailjet\Exception\ MailjetException
98+ * @return array
99+ * @throws MailjetException
106100 */
107101 public function delete (string $ id ): array
108102 {
0 commit comments