Completed
Pull Request — master (#18)
by
unknown
01:02
created
src/Actions/ManagesContactAutomations.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace TestMonitor\ActiveCampaign\Actions;
4 4
 
5
-use TestMonitor\ActiveCampaign\Resources\Contact;
6 5
 use TestMonitor\ActiveCampaign\Resources\Automation;
6
+use TestMonitor\ActiveCampaign\Resources\Contact;
7 7
 
8 8
 trait ManagesContactAutomations
9 9
 {
Please login to merge, or discard this patch.
src/Actions/ManagesContacts.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace TestMonitor\ActiveCampaign\Actions;
4 4
 
5
-use TestMonitor\ActiveCampaign\Resources\Tag;
6
-use TestMonitor\ActiveCampaign\Resources\Contact;
7 5
 use TestMonitor\ActiveCampaign\Resources\Automation;
8
-use TestMonitor\ActiveCampaign\Resources\ContactTag;
6
+use TestMonitor\ActiveCampaign\Resources\Contact;
9 7
 use TestMonitor\ActiveCampaign\Resources\ContactAutomation;
8
+use TestMonitor\ActiveCampaign\Resources\ContactTag;
9
+use TestMonitor\ActiveCampaign\Resources\Tag;
10 10
 
11 11
 trait ManagesContacts
12 12
 {
Please login to merge, or discard this patch.
src/Actions/ManagesContactTags.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace TestMonitor\ActiveCampaign\Actions;
4 4
 
5
-use TestMonitor\ActiveCampaign\Resources\Tag;
6 5
 use TestMonitor\ActiveCampaign\Resources\Contact;
6
+use TestMonitor\ActiveCampaign\Resources\Tag;
7 7
 
8 8
 trait ManagesContactTags
9 9
 {
Please login to merge, or discard this patch.
src/Resources/Resource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      *
53 53
      * @param $key
54 54
      *
55
-     * @return mixed
55
+     * @return string
56 56
      */
57 57
     private function camelCase($key)
58 58
     {
Please login to merge, or discard this patch.
src/Actions/ManagesLists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Returns list by ID
26 26
      *
27
-     * @param string $name
28 27
      *
29 28
      * @return ContactsList|null
30 29
      */
@@ -139,6 +138,7 @@  discard block
 block discarded – undo
139 138
     /**
140 139
      * Get all contacts related to the list.
141 140
      *
141
+     * @param string $listId
142 142
      * @return Contact[]
143 143
      */
144 144
     public function contactsByList($listId)
Please login to merge, or discard this patch.
src/MakesHttpRequests.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace TestMonitor\ActiveCampaign;
4 4
 
5 5
 use Psr\Http\Message\ResponseInterface;
6
+use TestMonitor\ActiveCampaign\Exceptions\FailedActionException;
6 7
 use TestMonitor\ActiveCampaign\Exceptions\NotFoundException;
7 8
 use TestMonitor\ActiveCampaign\Exceptions\ValidationException;
8
-use TestMonitor\ActiveCampaign\Exceptions\FailedActionException;
9 9
 
10 10
 /**
11 11
  * Class MakesHttpRequests
Please login to merge, or discard this patch.