@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @param $name |
|
35 | + * @param string $name |
|
36 | 36 | * |
37 | 37 | * @return int |
38 | 38 | * @throws ContactListNotCreated |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Dekalee\MailjetBundle\Creator; |
4 | 4 | |
5 | 5 | use Dekalee\MailjetBundle\Convertor\ContactListConvertor; |
6 | -use Doctrine\Common\Inflector\Inflector; |
|
7 | 6 | use Mailjet\Client; |
8 | 7 | use Mailjet\Resources; |
9 | 8 |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | $body = [ |
49 | 49 | 'Datatype' => "str", |
50 | - 'Name' => "content_" . $name, |
|
50 | + 'Name' => "content_".$name, |
|
51 | 51 | 'NameSpace' => "static" |
52 | 52 | ]; |
53 | 53 | $response = $this->client->post(Resources::$Contactmetadata, ['body' => $body]); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $body = [ |
58 | 58 | 'Data' => [ |
59 | 59 | [ |
60 | - 'Name' => "content_" . $name, |
|
60 | + 'Name' => "content_".$name, |
|
61 | 61 | 'value' => $parameters['content'] |
62 | 62 | ], |
63 | 63 | ] |