Skip to content

Commit 2a33578

Browse files
committed
Coding standards
1 parent 7b5fcef commit 2a33578

File tree

1 file changed

+60
-60
lines changed

1 file changed

+60
-60
lines changed

src/ConvertKit_API.php

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -451,16 +451,16 @@ public function add_subscriber_to_form(int $form_id, int $subscriber_id)
451451
/**
452452
* List subscribers for a form
453453
*
454-
* @param integer $form_id Form ID.
455-
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
456-
* @param \DateTime $created_after Filter subscribers who have been created after this date.
457-
* @param \DateTime $created_before Filter subscribers who have been created before this date.
458-
* @param \DateTime $added_after Filter subscribers who have been added to the form after this date.
459-
* @param \DateTime $added_before Filter subscribers who have been added to the form before this date.
460-
* @param boolean $include_total_count To include the total count of records in the response, use true.
461-
* @param string $after_cursor Return results after the given pagination cursor.
462-
* @param string $before_cursor Return results before the given pagination cursor.
463-
* @param integer $per_page Number of results to return.
454+
* @param integer $form_id Form ID.
455+
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
456+
* @param \DateTime $created_after Filter subscribers who have been created after this date.
457+
* @param \DateTime $created_before Filter subscribers who have been created before this date.
458+
* @param \DateTime $added_after Filter subscribers who have been added to the form after this date.
459+
* @param \DateTime $added_before Filter subscribers who have been added to the form before this date.
460+
* @param boolean $include_total_count To include the total count of records in the response, use true.
461+
* @param string $after_cursor Return results after the given pagination cursor.
462+
* @param string $before_cursor Return results before the given pagination cursor.
463+
* @param integer $per_page Number of results to return.
464464
*
465465
* @see https://developers.convertkit.com/v4.html#list-subscribers-for-a-form
466466
*
@@ -513,10 +513,10 @@ public function get_form_subscriptions(
513513
/**
514514
* Gets sequences
515515
*
516-
* @param boolean $include_total_count To include the total count of records in the response, use true.
517-
* @param string $after_cursor Return results after the given pagination cursor.
518-
* @param string $before_cursor Return results before the given pagination cursor.
519-
* @param integer $per_page Number of results to return.
516+
* @param boolean $include_total_count To include the total count of records in the response, use true.
517+
* @param string $after_cursor Return results after the given pagination cursor.
518+
* @param string $before_cursor Return results before the given pagination cursor.
519+
* @param integer $per_page Number of results to return.
520520
*
521521
* @see https://developers.convertkit.com/v4.html#list-sequences
522522
*
@@ -577,16 +577,16 @@ public function add_subscriber_to_sequence(int $sequence_id, int $subscriber_id)
577577
/**
578578
* List subscribers for a sequence
579579
*
580-
* @param integer $sequence_id Sequence ID.
581-
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
582-
* @param \DateTime $created_after Filter subscribers who have been created after this date.
583-
* @param \DateTime $created_before Filter subscribers who have been created before this date.
584-
* @param \DateTime $added_after Filter subscribers who have been added to the form after this date.
585-
* @param \DateTime $added_before Filter subscribers who have been added to the form before this date.
586-
* @param boolean $include_total_count To include the total count of records in the response, use true.
587-
* @param string $after_cursor Return results after the given pagination cursor.
588-
* @param string $before_cursor Return results before the given pagination cursor.
589-
* @param integer $per_page Number of results to return.
580+
* @param integer $sequence_id Sequence ID.
581+
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
582+
* @param \DateTime $created_after Filter subscribers who have been created after this date.
583+
* @param \DateTime $created_before Filter subscribers who have been created before this date.
584+
* @param \DateTime $added_after Filter subscribers who have been added to the form after this date.
585+
* @param \DateTime $added_before Filter subscribers who have been added to the form before this date.
586+
* @param boolean $include_total_count To include the total count of records in the response, use true.
587+
* @param string $after_cursor Return results after the given pagination cursor.
588+
* @param string $before_cursor Return results before the given pagination cursor.
589+
* @param integer $per_page Number of results to return.
590590
*
591591
* @see https://developers.convertkit.com/v4.html#list-subscribers-for-a-sequence
592592
*
@@ -638,10 +638,10 @@ public function get_sequence_subscriptions(
638638
/**
639639
* List tags.
640640
*
641-
* @param boolean $include_total_count To include the total count of records in the response, use true.
642-
* @param string $after_cursor Return results after the given pagination cursor.
643-
* @param string $before_cursor Return results before the given pagination cursor.
644-
* @param integer $per_page Number of results to return.
641+
* @param boolean $include_total_count To include the total count of records in the response, use true.
642+
* @param string $after_cursor Return results after the given pagination cursor.
643+
* @param string $before_cursor Return results before the given pagination cursor.
644+
* @param integer $per_page Number of results to return.
645645
*
646646
* @see https://developers.convertkit.com/v4.html#list-tags
647647
*
@@ -791,16 +791,16 @@ public function remove_tag_from_subscriber_by_email(int $tag_id, string $email_a
791791
/**
792792
* List subscribers for a tag
793793
*
794-
* @param integer $tag_id Tag ID.
795-
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
796-
* @param \DateTime $created_after Filter subscribers who have been created after this date.
797-
* @param \DateTime $created_before Filter subscribers who have been created before this date.
798-
* @param \DateTime $tagged_after Filter subscribers who have been tagged after this date.
799-
* @param \DateTime $tagged_before Filter subscribers who have been tagged before this date.
800-
* @param boolean $include_total_count To include the total count of records in the response, use true.
801-
* @param string $after_cursor Return results after the given pagination cursor.
802-
* @param string $before_cursor Return results before the given pagination cursor.
803-
* @param integer $per_page Number of results to return.
794+
* @param integer $tag_id Tag ID.
795+
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
796+
* @param \DateTime $created_after Filter subscribers who have been created after this date.
797+
* @param \DateTime $created_before Filter subscribers who have been created before this date.
798+
* @param \DateTime $tagged_after Filter subscribers who have been tagged after this date.
799+
* @param \DateTime $tagged_before Filter subscribers who have been tagged before this date.
800+
* @param boolean $include_total_count To include the total count of records in the response, use true.
801+
* @param string $after_cursor Return results after the given pagination cursor.
802+
* @param string $before_cursor Return results before the given pagination cursor.
803+
* @param integer $per_page Number of results to return.
804804
*
805805
* @see https://developers.convertkit.com/v4.html#list-subscribers-for-a-tag
806806
*
@@ -1000,18 +1000,18 @@ public function get_resources(string $resource)
10001000
/**
10011001
* List subscribers.
10021002
*
1003-
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
1004-
* @param string $email_address Search susbcribers by email address. This is an exact match search.
1005-
* @param \DateTime $created_after Filter subscribers who have been created after this date.
1006-
* @param \DateTime $created_before Filter subscribers who have been created before this date.
1007-
* @param \DateTime $updated_after Filter subscribers who have been updated after this date.
1008-
* @param \DateTime $updated_before Filter subscribers who have been updated before this date.
1009-
* @param string $sort_field Sort Field (id|updated_at|cancelled_at).
1010-
* @param string $sort_order Sort Order (asc|desc).
1011-
* @param boolean $include_total_count To include the total count of records in the response, use true.
1012-
* @param string $after_cursor Return results after the given pagination cursor.
1013-
* @param string $before_cursor Return results before the given pagination cursor.
1014-
* @param integer $per_page Number of results to return.
1003+
* @param string $subscriber_state Subscriber State (active|bounced|cancelled|complained|inactive).
1004+
* @param string $email_address Search susbcribers by email address. This is an exact match search.
1005+
* @param \DateTime $created_after Filter subscribers who have been created after this date.
1006+
* @param \DateTime $created_before Filter subscribers who have been created before this date.
1007+
* @param \DateTime $updated_after Filter subscribers who have been updated after this date.
1008+
* @param \DateTime $updated_before Filter subscribers who have been updated before this date.
1009+
* @param string $sort_field Sort Field (id|updated_at|cancelled_at).
1010+
* @param string $sort_order Sort Order (asc|desc).
1011+
* @param boolean $include_total_count To include the total count of records in the response, use true.
1012+
* @param string $after_cursor Return results after the given pagination cursor.
1013+
* @param string $before_cursor Return results before the given pagination cursor.
1014+
* @param integer $per_page Number of results to return.
10151015
*
10161016
* @since 2.0.0
10171017
*
@@ -1262,11 +1262,11 @@ public function unsubscribe(int $subscriber_id)
12621262
/**
12631263
* Get a list of the tags for a subscriber.
12641264
*
1265-
* @param integer $subscriber_id Subscriber ID.
1266-
* @param boolean $include_total_count To include the total count of records in the response, use true.
1267-
* @param string $after_cursor Return results after the given pagination cursor.
1268-
* @param string $before_cursor Return results before the given pagination cursor.
1269-
* @param integer $per_page Number of results to return.
1265+
* @param integer $subscriber_id Subscriber ID.
1266+
* @param boolean $include_total_count To include the total count of records in the response, use true.
1267+
* @param string $after_cursor Return results after the given pagination cursor.
1268+
* @param string $before_cursor Return results before the given pagination cursor.
1269+
* @param integer $per_page Number of results to return.
12701270
*
12711271
* @see https://developers.convertkit.com/v4.html#list-tags-for-a-subscriber
12721272
*
@@ -1967,11 +1967,11 @@ private function strip_html_head_body_tags(string $markup)
19671967
/**
19681968
* Adds total count and pagination parameters to the given array of existing API parameters.
19691969
*
1970-
* @param array<string, string|integer|bool> $params API parameters.
1971-
* @param boolean $include_total_count Return total count of records.
1972-
* @param string $after_cursor Return results after the given pagination cursor.
1973-
* @param string $before_cursor Return results before the given pagination cursor.
1974-
* @param integer $per_page Number of results to return.
1970+
* @param array<string, string|integer|bool> $params API parameters.
1971+
* @param boolean $include_total_count Return total count of records.
1972+
* @param string $after_cursor Return results after the given pagination cursor.
1973+
* @param string $before_cursor Return results before the given pagination cursor.
1974+
* @param integer $per_page Number of results to return.
19751975
*
19761976
* @since 2.0.0
19771977
*

0 commit comments

Comments
 (0)