diff --git a/src/Endpoints/Database.php b/src/Endpoints/Database.php index 84eb58d..3c53695 100644 --- a/src/Endpoints/Database.php +++ b/src/Endpoints/Database.php @@ -98,7 +98,7 @@ public function getPostData(): array } /** - * @param $filter + * @param $filter * @return Database $this * * @throws HandlingException diff --git a/src/Entities/Blocks/Block.php b/src/Entities/Blocks/Block.php index 507ef60..c206a6a 100644 --- a/src/Entities/Blocks/Block.php +++ b/src/Entities/Blocks/Block.php @@ -142,7 +142,7 @@ public function setRawContent($rawContent) } /** - * @param $rawContent + * @param $rawContent * @return Block * * @throws HandlingException diff --git a/src/Entities/Page.php b/src/Entities/Page.php index c857162..207c296 100644 --- a/src/Entities/Page.php +++ b/src/Entities/Page.php @@ -186,8 +186,8 @@ private function fillPageUrl(): void } /** - * @param $propertyTitle - * @param $property + * @param $propertyTitle + * @param $property * @return Page */ public function set(string $propertyKey, Property $property): Page @@ -204,8 +204,8 @@ public function set(string $propertyKey, Property $property): Page } /** - * @param $propertyTitle - * @param $number + * @param $propertyTitle + * @param $number * @return Page */ public function setNumber(string $propertyTitle, float $number): Page @@ -216,8 +216,8 @@ public function setNumber(string $propertyTitle, float $number): Page } /** - * @param $propertyTitle - * @param $text + * @param $propertyTitle + * @param $text * @return Page */ public function setTitle(string $propertyTitle, string $text): Page @@ -228,8 +228,8 @@ public function setTitle(string $propertyTitle, string $text): Page } /** - * @param $propertyTitle - * @param $text + * @param $propertyTitle + * @param $text * @return Page */ public function setText(string $propertyTitle, string $text): Page @@ -240,8 +240,8 @@ public function setText(string $propertyTitle, string $text): Page } /** - * @param $propertyTitle - * @param $name + * @param $propertyTitle + * @param $name * @return Page */ public function setSelect(string $propertyTitle, string $name): Page @@ -252,8 +252,8 @@ public function setSelect(string $propertyTitle, string $name): Page } /** - * @param $propertyTitle - * @param $url + * @param $propertyTitle + * @param $url * @return Page */ public function setUrl(string $propertyTitle, string $url): Page @@ -264,8 +264,8 @@ public function setUrl(string $propertyTitle, string $url): Page } /** - * @param $propertyTitle - * @param $phoneNumber + * @param $propertyTitle + * @param $phoneNumber * @return Page */ public function setPhoneNumber(string $propertyTitle, string $phoneNumber): Page @@ -276,8 +276,8 @@ public function setPhoneNumber(string $propertyTitle, string $phoneNumber): Page } /** - * @param $propertyTitle - * @param $email + * @param $propertyTitle + * @param $email * @return Page */ public function setEmail(string $propertyTitle, string $email): Page @@ -288,8 +288,8 @@ public function setEmail(string $propertyTitle, string $email): Page } /** - * @param $propertyTitle - * @param $names + * @param $propertyTitle + * @param $names * @return Page */ public function setMultiSelect(string $propertyTitle, array $names): Page @@ -300,8 +300,8 @@ public function setMultiSelect(string $propertyTitle, array $names): Page } /** - * @param $propertyTitle - * @param $checked + * @param $propertyTitle + * @param $checked * @return Page */ public function setCheckbox(string $propertyTitle, bool $checked): Page @@ -312,9 +312,9 @@ public function setCheckbox(string $propertyTitle, bool $checked): Page } /** - * @param $propertyTitle - * @param $start - * @param $end + * @param $propertyTitle + * @param $start + * @param $end * @return Page */ public function setDate(string $propertyTitle, DateTime $start, ?DateTime $end = null): Page @@ -325,9 +325,9 @@ public function setDate(string $propertyTitle, DateTime $start, ?DateTime $end = } /** - * @param $propertyTitle - * @param $start - * @param $end + * @param $propertyTitle + * @param $start + * @param $end * @return Page */ public function setDateTime(string $propertyTitle, DateTime $start, ?DateTime $end = null): Page @@ -338,8 +338,8 @@ public function setDateTime(string $propertyTitle, DateTime $start, ?DateTime $e } /** - * @param $propertyTitle - * @param $relationIds + * @param $propertyTitle + * @param $relationIds * @return Page */ public function setRelation(string $propertyTitle, array $relationIds): Page @@ -350,8 +350,8 @@ public function setRelation(string $propertyTitle, array $relationIds): Page } /** - * @param $propertyTitle - * @param $userIds + * @param $propertyTitle + * @param $userIds * @return Page */ public function setPeople(string $propertyTitle, array $userIds): Page diff --git a/src/Entities/Properties/Checkbox.php b/src/Entities/Properties/Checkbox.php index d869694..8e43dab 100644 --- a/src/Entities/Properties/Checkbox.php +++ b/src/Entities/Properties/Checkbox.php @@ -11,7 +11,7 @@ class Checkbox extends Property implements Modifiable { /** - * @param $checked + * @param $checked * @return Checkbox */ public static function value(bool $checked): Checkbox diff --git a/src/Entities/Properties/Date.php b/src/Entities/Properties/Date.php index 332d1f2..3606185 100644 --- a/src/Entities/Properties/Date.php +++ b/src/Entities/Properties/Date.php @@ -14,8 +14,8 @@ class Date extends Property implements Modifiable { /** - * @param $start - * @param $end + * @param $start + * @param $end * @return Date */ public static function value(?DateTime $start, ?DateTime $end = null): Date @@ -46,8 +46,8 @@ public static function value(?DateTime $start, ?DateTime $end = null): Date } /** - * @param $start - * @param $end + * @param $start + * @param $end * @return Date */ public static function valueWithTime(?DateTime $start, ?DateTime $end = null): Date diff --git a/src/Entities/Properties/Email.php b/src/Entities/Properties/Email.php index 5ec63b4..fae7820 100644 --- a/src/Entities/Properties/Email.php +++ b/src/Entities/Properties/Email.php @@ -10,7 +10,7 @@ class Email extends Property implements Modifiable { /** - * @param $email + * @param $email * @return Email */ public static function value(string $email): Email diff --git a/src/Entities/Properties/MultiSelect.php b/src/Entities/Properties/MultiSelect.php index 4b8741c..7c97782 100644 --- a/src/Entities/Properties/MultiSelect.php +++ b/src/Entities/Properties/MultiSelect.php @@ -19,7 +19,7 @@ class MultiSelect extends Property implements Modifiable private Collection $options; /** - * @param $names + * @param $names * @return MultiSelect */ public static function value(array $names): MultiSelect diff --git a/src/Entities/Properties/People.php b/src/Entities/Properties/People.php index 674257f..12c57d0 100644 --- a/src/Entities/Properties/People.php +++ b/src/Entities/Properties/People.php @@ -13,7 +13,7 @@ class People extends Property implements Modifiable { /** - * @param $userIds + * @param $userIds * @return People */ public static function value(array $userIds): People diff --git a/src/Entities/Properties/PhoneNumber.php b/src/Entities/Properties/PhoneNumber.php index 5bc26fe..e36f644 100644 --- a/src/Entities/Properties/PhoneNumber.php +++ b/src/Entities/Properties/PhoneNumber.php @@ -10,7 +10,7 @@ class PhoneNumber extends Property implements Modifiable { /** - * @param $phoneNumber + * @param $phoneNumber * @return PhoneNumber */ public static function value(string $phoneNumber): PhoneNumber diff --git a/src/Entities/Properties/Property.php b/src/Entities/Properties/Property.php index e3865d1..7b91768 100644 --- a/src/Entities/Properties/Property.php +++ b/src/Entities/Properties/Property.php @@ -140,7 +140,7 @@ public function getContent() /** * @param string $propertyKey - * @param $rawContent + * @param $rawContent * @return Property * * @throws HandlingException diff --git a/src/Entities/Properties/Relation.php b/src/Entities/Properties/Relation.php index 3fa8ca7..fb6d829 100644 --- a/src/Entities/Properties/Relation.php +++ b/src/Entities/Properties/Relation.php @@ -11,7 +11,7 @@ class Relation extends Property implements Modifiable { /** - * @param $relationIds + * @param $relationIds * @return Relation */ public static function value(array $relationIds): Relation diff --git a/src/Entities/Properties/Select.php b/src/Entities/Properties/Select.php index d950c1b..fae091d 100644 --- a/src/Entities/Properties/Select.php +++ b/src/Entities/Properties/Select.php @@ -18,7 +18,7 @@ class Select extends Property implements Modifiable private Collection $options; /** - * @param $name + * @param $name * @return Select */ public static function value(string $name): Select diff --git a/src/Entities/Properties/Text.php b/src/Entities/Properties/Text.php index 84df2e4..bfa0912 100644 --- a/src/Entities/Properties/Text.php +++ b/src/Entities/Properties/Text.php @@ -17,7 +17,7 @@ class Text extends Property implements Modifiable protected string $plainText = ''; /** - * @param $text + * @param $text * @return Text */ public static function value($text): Text diff --git a/src/Entities/Properties/Title.php b/src/Entities/Properties/Title.php index 5d7e502..d307017 100644 --- a/src/Entities/Properties/Title.php +++ b/src/Entities/Properties/Title.php @@ -17,7 +17,7 @@ class Title extends Property implements Modifiable protected string $plainText = ''; /** - * @param $text + * @param $text * @return Title */ public static function value($text): Title diff --git a/src/Entities/Properties/Url.php b/src/Entities/Properties/Url.php index 90210fe..ac5544e 100644 --- a/src/Entities/Properties/Url.php +++ b/src/Entities/Properties/Url.php @@ -10,7 +10,7 @@ class Url extends Property implements Modifiable { /** - * @param $url + * @param $url * @return Url */ public static function value(string $url): Url diff --git a/src/Entities/PropertyItems/SelectItem.php b/src/Entities/PropertyItems/SelectItem.php index 1cf7cb3..e248222 100644 --- a/src/Entities/PropertyItems/SelectItem.php +++ b/src/Entities/PropertyItems/SelectItem.php @@ -72,7 +72,7 @@ public function getName(): string } /** - * @param $color + * @param $color */ public function setColor($color): void { @@ -80,7 +80,7 @@ public function setColor($color): void } /** - * @param $name + * @param $name */ public function setName($name): void { diff --git a/src/Query/Filters/Filter.php b/src/Query/Filters/Filter.php index def06c8..da3caf7 100644 --- a/src/Query/Filters/Filter.php +++ b/src/Query/Filters/Filter.php @@ -53,7 +53,7 @@ public function __construct( * * @param string $property * @param string $comparisonOperator - * @param $value + * @param $value * @return Filter */ public static function textFilter(string $property, string $comparisonOperator, string $value): Filter @@ -160,8 +160,8 @@ public static function filterQuery(Collection $filter): array /** * Checks if the given comparison operator is valid for the given filter type. * - * @param $filterType - * @param $operator + * @param $filterType + * @param $operator * * @throws HandlingException */ diff --git a/tests/EndpointBlocksTest.php b/tests/EndpointBlocksTest.php index b1dd23f..cb9f8cc 100644 --- a/tests/EndpointBlocksTest.php +++ b/tests/EndpointBlocksTest.php @@ -317,7 +317,7 @@ public function classProvider(): array * * @dataProvider classProvider * - * @param $entityClass + * @param $entityClass */ public function it_throws_an_handling_exception_for_wrong_type($entityClass) {