@@ -121,8 +121,8 @@ |
||
| 121 | 121 | { |
| 122 | 122 | return LarachimpFacade::request('PATCH', 'lists/'.$this->listId.'/members/'.$subscriberHash, [ |
| 123 | 123 | 'body' => json_encode([ |
| 124 | - 'status' => $member->isSubscribedToMailchimpList() ? 'subscribed' : 'unsubscribed', |
|
| 125 | - ]), |
|
| 124 | + 'status' => $member->isSubscribedToMailchimpList() ? 'subscribed' : 'unsubscribed', |
|
| 125 | + ]), |
|
| 126 | 126 | ]); |
| 127 | 127 | } |
| 128 | 128 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Returns a new MailchimpManager instance ready to use. |
| 26 | 26 | * |
| 27 | - * @param Illuminate\Contracts\Logging\Log $log |
|
| 27 | + * @param Log $log |
|
| 28 | 28 | */ |
| 29 | 29 | public function __construct(Log $log = null) |
| 30 | 30 | { |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | class LarachimpServiceProvider extends ServiceProvider { |
| 7 | 7 | |
| 8 | - /** |
|
| 8 | + /** |
|
| 9 | 9 | * Register paths to be published by the publish command. |
| 10 | 10 | * |
| 11 | 11 | * @return void |
@@ -41,6 +41,6 @@ |
||
| 41 | 41 | | from users |
| 42 | 42 | | |
| 43 | 43 | */ |
| 44 | - 'list_id' => env('MAILCHIMP_LIST_ID', '123'), |
|
| 44 | + 'list_id' => env('MAILCHIMP_LIST_ID', '123'), |
|
| 45 | 45 | |
| 46 | 46 | ]; |
| 47 | 47 | \ No newline at end of file |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * Create a new job instance. |
| 24 | 24 | * |
| 25 | - * @param DiegoCaprioli\Larachimp\Models\LarachimpListMember $member |
|
| 25 | + * @param LarachimpListMember $member |
|
| 26 | 26 | */ |
| 27 | 27 | public function __construct(LarachimpListMember $member) |
| 28 | 28 | { |