Passed
Pull Request — master (#2)
by nicolas
07:19
created
MailjetBundle/Convertor/ContactListConvertor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @param $name
35
+     * @param string $name
36 36
      *
37 37
      * @return int
38 38
      * @throws ContactListNotCreated
Please login to merge, or discard this patch.
MailjetBundle/Creator/ContactListCreator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             ]
Please login to merge, or discard this patch.