@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * Creates a new Larachimp instance |
| 38 | 38 | * |
| 39 | - * @param Log The logger instance to use |
|
| 39 | + * @param Log Log logger instance to use |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct(Log $log = null) |
| 42 | 42 | { |
@@ -102,7 +102,6 @@ discard block |
||
| 102 | 102 | /** |
| 103 | 103 | * If there's a logger defined, it logs the response returned |
| 104 | 104 | * |
| 105 | - * @param Collection $collection |
|
| 106 | 105 | */ |
| 107 | 106 | protected function logResponse($response) |
| 108 | 107 | { |
@@ -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 | |
@@ -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 |