diff --git a/.travis.yml b/.travis.yml index 714772ee..ed07d129 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,7 @@ language: php -# Bionic environment has preinstalled PHP from 7.1 to 7.4 -# https://docs.travis-ci.com/user/reference/bionic/#php-support -dist: bionic +dist: focal php: - - 7.3 - - 7.4 + - 8.1 + - 8.2 before_install: "composer install" -script: "vendor/bin/phpunit" +script: "vendor/bin/pest" diff --git a/CHANGELOG.md b/CHANGELOG.md index c7be9455..89c2b0a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added +- Added `website`, `linkedin`, `industry`, `annual_revenue`, and `employee_count` fields to v2 organization response schema (`GET /api/v2/organizations`, `GET /api/v2/organizations/{id}`) — all nullable, not included by default +- Added `deal_id`, `person_id`, and `org_id` as optional query filter parameters to `GET /api/v2/projects` +### Fixed +- Fixed `BillingStartDate` format from non-standard `'YYYY-MM-DD'` to correct OAS3 `date` format in both v1 and v2 deal product schemas +### Added - Added projects v2 API - Added project boards v2 API - Added project phases v2 API diff --git a/README.md b/README.md index 27589e1d..65311fe5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This SDK supports two API versions, each with its own namespace and documentatio ### Requirements -PHP 7.4+ and later. +PHP 8.0+ and later. ### Composer diff --git a/composer.json b/composer.json index 1299d1f6..c85584e9 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "homepage": "https://github.com/pipedrive/client-php", "license": "MIT", "require": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", diff --git a/docs/versions/v2/Api/ProjectsApi.md b/docs/versions/v2/Api/ProjectsApi.md index 47b0e917..9ef165ee 100644 --- a/docs/versions/v2/Api/ProjectsApi.md +++ b/docs/versions/v2/Api/ProjectsApi.md @@ -486,7 +486,7 @@ Name | Type | Description | Notes ## `getProjects()` ```php -getProjects($filter_id, $status, $phase_id, $limit, $cursor): \Pipedrive\versions\v2\Model\GetProjects +getProjects($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor): \Pipedrive\versions\v2\Model\GetProjects ``` Get all projects @@ -518,11 +518,14 @@ $apiInstance = new Pipedrive\versions\v2\Api\ProjectsApi( $filter_id = 56; // int | If supplied, only projects matching the specified filter are returned $status = open,completed; // string | If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. $phase_id = 56; // int | If supplied, only projects in the specified phase are returned +$deal_id = 56; // int | If supplied, only projects associated with the specified deal are returned +$person_id = 56; // int | If supplied, only projects associated with the specified person are returned +$org_id = 56; // int | If supplied, only projects associated with the specified organization are returned $limit = 100; // int | For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. $cursor = 'cursor_example'; // string | For pagination, the marker (an opaque string value) representing the first item on the next page try { - $result = $apiInstance->getProjects($filter_id, $status, $phase_id, $limit, $cursor); + $result = $apiInstance->getProjects($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor); print_r($result); } catch (Exception $e) { echo 'Exception when calling ProjectsApi->getProjects: ', $e->getMessage(), PHP_EOL; @@ -536,6 +539,9 @@ Name | Type | Description | Notes **filter_id** | **int**| If supplied, only projects matching the specified filter are returned | [optional] **status** | **string**| If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. | [optional] **phase_id** | **int**| If supplied, only projects in the specified phase are returned | [optional] + **deal_id** | **int**| If supplied, only projects associated with the specified deal are returned | [optional] + **person_id** | **int**| If supplied, only projects associated with the specified person are returned | [optional] + **org_id** | **int**| If supplied, only projects associated with the specified organization are returned | [optional] **limit** | **int**| For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. | [optional] **cursor** | **string**| For pagination, the marker (an opaque string value) representing the first item on the next page | [optional] diff --git a/docs/versions/v2/Model/BaseDealProduct.md b/docs/versions/v2/Model/BaseDealProduct.md index 3ddd4146..4265ef7d 100644 --- a/docs/versions/v2/Model/BaseDealProduct.md +++ b/docs/versions/v2/Model/BaseDealProduct.md @@ -24,6 +24,6 @@ Name | Type | Description | Notes **is_enabled** | **bool** | Whether this product is enabled for the deal | [optional] [default to true] **billing_frequency** | [**\Pipedrive\versions\v2\Model\BillingFrequency**](BillingFrequency.md) | | [optional] **billing_frequency_cycles** | **int** | Only available in Growth and above plans The number of times the billing frequency repeats for a product in a deal When `billing_frequency` is set to `one-time`, this field must be `null` When `billing_frequency` is set to `weekly`, this field cannot be `null` For all the other values of `billing_frequency`, `null` represents a product billed indefinitely Must be a positive integer less or equal to 208 | [optional] -**billing_start_date** | **string** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] +**billing_start_date** | **\DateTime** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/versions/v2/Model/BaseDealProductAllOf3.md b/docs/versions/v2/Model/BaseDealProductAllOf3.md index b8921716..61f9ab13 100644 --- a/docs/versions/v2/Model/BaseDealProductAllOf3.md +++ b/docs/versions/v2/Model/BaseDealProductAllOf3.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**billing_start_date** | **string** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] +**billing_start_date** | **\DateTime** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/versions/v2/Model/NewDealProductRequestBody.md b/docs/versions/v2/Model/NewDealProductRequestBody.md index 2a46c6da..8bdefe13 100644 --- a/docs/versions/v2/Model/NewDealProductRequestBody.md +++ b/docs/versions/v2/Model/NewDealProductRequestBody.md @@ -16,6 +16,6 @@ Name | Type | Description | Notes **product_variation_id** | **int** | The ID of the product variation | [optional] **billing_frequency** | [**\Pipedrive\versions\v2\Model\BillingFrequency**](BillingFrequency.md) | | [optional] **billing_frequency_cycles** | **int** | Only available in Growth and above plans The number of times the billing frequency repeats for a product in a deal When `billing_frequency` is set to `one-time`, this field must be `null` When `billing_frequency` is set to `weekly`, this field cannot be `null` For all the other values of `billing_frequency`, `null` represents a product billed indefinitely Must be a positive integer less or equal to 208 | [optional] -**billing_start_date** | **string** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] +**billing_start_date** | **\DateTime** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/versions/v2/Model/OrganizationItem.md b/docs/versions/v2/Model/OrganizationItem.md index ed521379..44753760 100644 --- a/docs/versions/v2/Model/OrganizationItem.md +++ b/docs/versions/v2/Model/OrganizationItem.md @@ -13,6 +13,11 @@ Name | Type | Description | Notes **visible_to** | **int** | The visibility of the organization | [optional] **address** | [**\Pipedrive\versions\v2\Model\OrganizationItemAddress**](OrganizationItemAddress.md) | | [optional] **label_ids** | **int[]** | The IDs of labels assigned to the organization | [optional] +**website** | **string** | The website of the organization | [optional] +**linkedin** | **string** | The LinkedIn profile URL of the organization | [optional] +**industry** | **int** | The industry the organization belongs to | [optional] +**annual_revenue** | **int** | The annual revenue of the organization | [optional] +**employee_count** | **int** | The number of employees in the organization | [optional] **custom_fields** | **array** | An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/versions/v2/Model/UpdateDealProductRequestBody.md b/docs/versions/v2/Model/UpdateDealProductRequestBody.md index dd21138f..7284fa58 100644 --- a/docs/versions/v2/Model/UpdateDealProductRequestBody.md +++ b/docs/versions/v2/Model/UpdateDealProductRequestBody.md @@ -16,6 +16,6 @@ Name | Type | Description | Notes **product_variation_id** | **int** | The ID of the product variation | [optional] **billing_frequency** | [**\Pipedrive\versions\v2\Model\BillingFrequency**](BillingFrequency.md) | | [optional] **billing_frequency_cycles** | **int** | Only available in Growth and above plans The number of times the billing frequency repeats for a product in a deal When `billing_frequency` is set to `one-time`, this field must be `null` When `billing_frequency` is set to `weekly`, this field cannot be `null` For all the other values of `billing_frequency`, `null` represents a product billed indefinitely Must be a positive integer less or equal to 208 | [optional] -**billing_start_date** | **string** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] +**billing_start_date** | **\DateTime** | Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/lib/versions/v1/Api/ActivityFieldsApi.php b/lib/versions/v1/Api/ActivityFieldsApi.php index c3aef36e..032dcc24 100644 --- a/lib/versions/v1/Api/ActivityFieldsApi.php +++ b/lib/versions/v1/Api/ActivityFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ActivityTypesApi.php b/lib/versions/v1/Api/ActivityTypesApi.php index d54a81a0..16273ce1 100644 --- a/lib/versions/v1/Api/ActivityTypesApi.php +++ b/lib/versions/v1/Api/ActivityTypesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/BillingApi.php b/lib/versions/v1/Api/BillingApi.php index 1d3b6e8a..c3a679cb 100644 --- a/lib/versions/v1/Api/BillingApi.php +++ b/lib/versions/v1/Api/BillingApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/CallLogsApi.php b/lib/versions/v1/Api/CallLogsApi.php index bd02ec13..5f2c4e37 100644 --- a/lib/versions/v1/Api/CallLogsApi.php +++ b/lib/versions/v1/Api/CallLogsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ChannelsApi.php b/lib/versions/v1/Api/ChannelsApi.php index 4dbbf8ea..77f115d2 100644 --- a/lib/versions/v1/Api/ChannelsApi.php +++ b/lib/versions/v1/Api/ChannelsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/CurrenciesApi.php b/lib/versions/v1/Api/CurrenciesApi.php index 029852df..1c664f9a 100644 --- a/lib/versions/v1/Api/CurrenciesApi.php +++ b/lib/versions/v1/Api/CurrenciesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/DealFieldsApi.php b/lib/versions/v1/Api/DealFieldsApi.php index c012b945..8ccef7d0 100644 --- a/lib/versions/v1/Api/DealFieldsApi.php +++ b/lib/versions/v1/Api/DealFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/DealsApi.php b/lib/versions/v1/Api/DealsApi.php index 346980f1..a6760dbf 100644 --- a/lib/versions/v1/Api/DealsApi.php +++ b/lib/versions/v1/Api/DealsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/FilesApi.php b/lib/versions/v1/Api/FilesApi.php index c29a57f6..069ceca0 100644 --- a/lib/versions/v1/Api/FilesApi.php +++ b/lib/versions/v1/Api/FilesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/FiltersApi.php b/lib/versions/v1/Api/FiltersApi.php index 5b56d009..19e936fd 100644 --- a/lib/versions/v1/Api/FiltersApi.php +++ b/lib/versions/v1/Api/FiltersApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/GoalsApi.php b/lib/versions/v1/Api/GoalsApi.php index 97fae5b2..b1abb1b6 100644 --- a/lib/versions/v1/Api/GoalsApi.php +++ b/lib/versions/v1/Api/GoalsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/LeadFieldsApi.php b/lib/versions/v1/Api/LeadFieldsApi.php index 46517912..09d521f5 100644 --- a/lib/versions/v1/Api/LeadFieldsApi.php +++ b/lib/versions/v1/Api/LeadFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/LeadLabelsApi.php b/lib/versions/v1/Api/LeadLabelsApi.php index cccd1c85..8c14ec02 100644 --- a/lib/versions/v1/Api/LeadLabelsApi.php +++ b/lib/versions/v1/Api/LeadLabelsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/LeadSourcesApi.php b/lib/versions/v1/Api/LeadSourcesApi.php index 5b921327..b9e2615c 100644 --- a/lib/versions/v1/Api/LeadSourcesApi.php +++ b/lib/versions/v1/Api/LeadSourcesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/LeadsApi.php b/lib/versions/v1/Api/LeadsApi.php index 49c1e89e..ff82c77c 100644 --- a/lib/versions/v1/Api/LeadsApi.php +++ b/lib/versions/v1/Api/LeadsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/LegacyTeamsApi.php b/lib/versions/v1/Api/LegacyTeamsApi.php index 41545346..1f2082bf 100644 --- a/lib/versions/v1/Api/LegacyTeamsApi.php +++ b/lib/versions/v1/Api/LegacyTeamsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/MailboxApi.php b/lib/versions/v1/Api/MailboxApi.php index c5707856..8fd37cc4 100644 --- a/lib/versions/v1/Api/MailboxApi.php +++ b/lib/versions/v1/Api/MailboxApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/MeetingsApi.php b/lib/versions/v1/Api/MeetingsApi.php index b1329a1b..91697072 100644 --- a/lib/versions/v1/Api/MeetingsApi.php +++ b/lib/versions/v1/Api/MeetingsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/NoteFieldsApi.php b/lib/versions/v1/Api/NoteFieldsApi.php index 673c3aeb..3e858a7e 100644 --- a/lib/versions/v1/Api/NoteFieldsApi.php +++ b/lib/versions/v1/Api/NoteFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/NotesApi.php b/lib/versions/v1/Api/NotesApi.php index e786a266..cd464a99 100644 --- a/lib/versions/v1/Api/NotesApi.php +++ b/lib/versions/v1/Api/NotesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/OrganizationFieldsApi.php b/lib/versions/v1/Api/OrganizationFieldsApi.php index 6c4bbd0a..838ff9cd 100644 --- a/lib/versions/v1/Api/OrganizationFieldsApi.php +++ b/lib/versions/v1/Api/OrganizationFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/OrganizationRelationshipsApi.php b/lib/versions/v1/Api/OrganizationRelationshipsApi.php index f5d20cc8..2a1e86ac 100644 --- a/lib/versions/v1/Api/OrganizationRelationshipsApi.php +++ b/lib/versions/v1/Api/OrganizationRelationshipsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/OrganizationsApi.php b/lib/versions/v1/Api/OrganizationsApi.php index c7ff9164..e0332e6b 100644 --- a/lib/versions/v1/Api/OrganizationsApi.php +++ b/lib/versions/v1/Api/OrganizationsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/PermissionSetsApi.php b/lib/versions/v1/Api/PermissionSetsApi.php index d7041f8f..7934761d 100644 --- a/lib/versions/v1/Api/PermissionSetsApi.php +++ b/lib/versions/v1/Api/PermissionSetsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/PersonFieldsApi.php b/lib/versions/v1/Api/PersonFieldsApi.php index 36cdc5a6..e2b62ef5 100644 --- a/lib/versions/v1/Api/PersonFieldsApi.php +++ b/lib/versions/v1/Api/PersonFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/PersonsApi.php b/lib/versions/v1/Api/PersonsApi.php index 30086b11..bc7d7632 100644 --- a/lib/versions/v1/Api/PersonsApi.php +++ b/lib/versions/v1/Api/PersonsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/PipelinesApi.php b/lib/versions/v1/Api/PipelinesApi.php index cbfa1df0..9e6d6a41 100644 --- a/lib/versions/v1/Api/PipelinesApi.php +++ b/lib/versions/v1/Api/PipelinesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProductFieldsApi.php b/lib/versions/v1/Api/ProductFieldsApi.php index daa3b341..8edfa7ac 100644 --- a/lib/versions/v1/Api/ProductFieldsApi.php +++ b/lib/versions/v1/Api/ProductFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProductsApi.php b/lib/versions/v1/Api/ProductsApi.php index bf4b5318..d8f48353 100644 --- a/lib/versions/v1/Api/ProductsApi.php +++ b/lib/versions/v1/Api/ProductsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProjectBoardsApi.php b/lib/versions/v1/Api/ProjectBoardsApi.php index 65c89a95..1260dcb0 100644 --- a/lib/versions/v1/Api/ProjectBoardsApi.php +++ b/lib/versions/v1/Api/ProjectBoardsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProjectPhasesApi.php b/lib/versions/v1/Api/ProjectPhasesApi.php index 0c82644b..7a2b201e 100644 --- a/lib/versions/v1/Api/ProjectPhasesApi.php +++ b/lib/versions/v1/Api/ProjectPhasesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProjectTemplatesApi.php b/lib/versions/v1/Api/ProjectTemplatesApi.php index d779745f..c714b9e4 100644 --- a/lib/versions/v1/Api/ProjectTemplatesApi.php +++ b/lib/versions/v1/Api/ProjectTemplatesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/ProjectsApi.php b/lib/versions/v1/Api/ProjectsApi.php index f43d2bcd..a241b6f8 100644 --- a/lib/versions/v1/Api/ProjectsApi.php +++ b/lib/versions/v1/Api/ProjectsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/RecentsApi.php b/lib/versions/v1/Api/RecentsApi.php index e762a369..a10857dd 100644 --- a/lib/versions/v1/Api/RecentsApi.php +++ b/lib/versions/v1/Api/RecentsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/RolesApi.php b/lib/versions/v1/Api/RolesApi.php index 7a9c06bb..e85937ad 100644 --- a/lib/versions/v1/Api/RolesApi.php +++ b/lib/versions/v1/Api/RolesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/StagesApi.php b/lib/versions/v1/Api/StagesApi.php index 2ea08a3f..4d4b1592 100644 --- a/lib/versions/v1/Api/StagesApi.php +++ b/lib/versions/v1/Api/StagesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/TasksApi.php b/lib/versions/v1/Api/TasksApi.php index 1c37c027..bbdf84eb 100644 --- a/lib/versions/v1/Api/TasksApi.php +++ b/lib/versions/v1/Api/TasksApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/UserConnectionsApi.php b/lib/versions/v1/Api/UserConnectionsApi.php index 39f22d06..abed9a1d 100644 --- a/lib/versions/v1/Api/UserConnectionsApi.php +++ b/lib/versions/v1/Api/UserConnectionsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/UserSettingsApi.php b/lib/versions/v1/Api/UserSettingsApi.php index c1864825..198f6506 100644 --- a/lib/versions/v1/Api/UserSettingsApi.php +++ b/lib/versions/v1/Api/UserSettingsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/UsersApi.php b/lib/versions/v1/Api/UsersApi.php index 12d1740a..ca936573 100644 --- a/lib/versions/v1/Api/UsersApi.php +++ b/lib/versions/v1/Api/UsersApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/Api/WebhooksApi.php b/lib/versions/v1/Api/WebhooksApi.php index c6a62d04..46c54163 100644 --- a/lib/versions/v1/Api/WebhooksApi.php +++ b/lib/versions/v1/Api/WebhooksApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v1/ApiException.php b/lib/versions/v1/ApiException.php index da3ef7dc..a89700ee 100644 --- a/lib/versions/v1/ApiException.php +++ b/lib/versions/v1/ApiException.php @@ -1,7 +1,7 @@ container['due_date'] = $data['due_date'] ?? null; $this->container['due_time'] = $data['due_time'] ?? null; diff --git a/lib/versions/v1/Model/ActivityCollectionResponseObjectAllOf.php b/lib/versions/v1/Model/ActivityCollectionResponseObjectAllOf.php index 486d2def..930e5aad 100644 --- a/lib/versions/v1/Model/ActivityCollectionResponseObjectAllOf.php +++ b/lib/versions/v1/Model/ActivityCollectionResponseObjectAllOf.php @@ -2,7 +2,7 @@ /** * ActivityCollectionResponseObjectAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -322,7 +322,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['done'] = $data['done'] ?? null; diff --git a/lib/versions/v1/Model/ActivityInfo.php b/lib/versions/v1/Model/ActivityInfo.php index 05a423a6..3d62246e 100644 --- a/lib/versions/v1/Model/ActivityInfo.php +++ b/lib/versions/v1/Model/ActivityInfo.php @@ -2,7 +2,7 @@ /** * ActivityInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_activity_date'] = $data['next_activity_date'] ?? null; $this->container['next_activity_time'] = $data['next_activity_time'] ?? null; diff --git a/lib/versions/v1/Model/ActivityObjectFragment.php b/lib/versions/v1/Model/ActivityObjectFragment.php index ba469e31..9e944ac7 100644 --- a/lib/versions/v1/Model/ActivityObjectFragment.php +++ b/lib/versions/v1/Model/ActivityObjectFragment.php @@ -2,7 +2,7 @@ /** * ActivityObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['due_date'] = $data['due_date'] ?? null; $this->container['due_time'] = $data['due_time'] ?? null; diff --git a/lib/versions/v1/Model/ActivityResponseObject.php b/lib/versions/v1/Model/ActivityResponseObject.php index 17a94f4d..a5b66a53 100644 --- a/lib/versions/v1/Model/ActivityResponseObject.php +++ b/lib/versions/v1/Model/ActivityResponseObject.php @@ -2,7 +2,7 @@ /** * ActivityResponseObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -497,7 +497,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['due_date'] = $data['due_date'] ?? null; $this->container['due_time'] = $data['due_time'] ?? null; diff --git a/lib/versions/v1/Model/ActivityResponseObjectAllOf.php b/lib/versions/v1/Model/ActivityResponseObjectAllOf.php index 1e87e0a0..5f56dd72 100644 --- a/lib/versions/v1/Model/ActivityResponseObjectAllOf.php +++ b/lib/versions/v1/Model/ActivityResponseObjectAllOf.php @@ -2,7 +2,7 @@ /** * ActivityResponseObjectAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -447,7 +447,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['note'] = $data['note'] ?? null; diff --git a/lib/versions/v1/Model/ActivityTypeCreateRequest.php b/lib/versions/v1/Model/ActivityTypeCreateRequest.php index 7fd45496..6cbb10d8 100644 --- a/lib/versions/v1/Model/ActivityTypeCreateRequest.php +++ b/lib/versions/v1/Model/ActivityTypeCreateRequest.php @@ -2,7 +2,7 @@ /** * ActivityTypeCreateRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['icon_key'] = $data['icon_key'] ?? null; diff --git a/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponse.php b/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponse.php index f444ba88..8f833bac 100644 --- a/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponse.php +++ b/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponse.php @@ -2,7 +2,7 @@ /** * ActivityTypeCreateUpdateDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponseAllOf.php b/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponseAllOf.php index 05f44958..cc1c4523 100644 --- a/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponseAllOf.php +++ b/lib/versions/v1/Model/ActivityTypeCreateUpdateDeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * ActivityTypeCreateUpdateDeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/ActivityTypeListResponse.php b/lib/versions/v1/Model/ActivityTypeListResponse.php index a93efae9..9739c832 100644 --- a/lib/versions/v1/Model/ActivityTypeListResponse.php +++ b/lib/versions/v1/Model/ActivityTypeListResponse.php @@ -2,7 +2,7 @@ /** * ActivityTypeListResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ActivityTypeListResponseAllOf.php b/lib/versions/v1/Model/ActivityTypeListResponseAllOf.php index c1e49e26..3b8a5115 100644 --- a/lib/versions/v1/Model/ActivityTypeListResponseAllOf.php +++ b/lib/versions/v1/Model/ActivityTypeListResponseAllOf.php @@ -2,7 +2,7 @@ /** * ActivityTypeListResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/ActivityTypeObjectResponse.php b/lib/versions/v1/Model/ActivityTypeObjectResponse.php index 96285909..e14340d9 100644 --- a/lib/versions/v1/Model/ActivityTypeObjectResponse.php +++ b/lib/versions/v1/Model/ActivityTypeObjectResponse.php @@ -2,7 +2,7 @@ /** * ActivityTypeObjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/ActivityTypeUpdateRequest.php b/lib/versions/v1/Model/ActivityTypeUpdateRequest.php index 589d9e61..f90aa8df 100644 --- a/lib/versions/v1/Model/ActivityTypeUpdateRequest.php +++ b/lib/versions/v1/Model/ActivityTypeUpdateRequest.php @@ -2,7 +2,7 @@ /** * ActivityTypeUpdateRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['icon_key'] = $data['icon_key'] ?? null; diff --git a/lib/versions/v1/Model/AddChannelBadRequestResponse.php b/lib/versions/v1/Model/AddChannelBadRequestResponse.php index cff223db..1ce0d667 100644 --- a/lib/versions/v1/Model/AddChannelBadRequestResponse.php +++ b/lib/versions/v1/Model/AddChannelBadRequestResponse.php @@ -2,7 +2,7 @@ /** * AddChannelBadRequestResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/AddChannelBadRequestResponseAdditionalData.php b/lib/versions/v1/Model/AddChannelBadRequestResponseAdditionalData.php index 51139d99..e4b047f3 100644 --- a/lib/versions/v1/Model/AddChannelBadRequestResponseAdditionalData.php +++ b/lib/versions/v1/Model/AddChannelBadRequestResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * AddChannelBadRequestResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; } diff --git a/lib/versions/v1/Model/AddChannelForbiddenErrorResponse.php b/lib/versions/v1/Model/AddChannelForbiddenErrorResponse.php index 9875d306..4eb50fe8 100644 --- a/lib/versions/v1/Model/AddChannelForbiddenErrorResponse.php +++ b/lib/versions/v1/Model/AddChannelForbiddenErrorResponse.php @@ -2,7 +2,7 @@ /** * AddChannelForbiddenErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/AddChannelForbiddenErrorResponseAdditionalData.php b/lib/versions/v1/Model/AddChannelForbiddenErrorResponseAdditionalData.php index 0f8e727f..d6366978 100644 --- a/lib/versions/v1/Model/AddChannelForbiddenErrorResponseAdditionalData.php +++ b/lib/versions/v1/Model/AddChannelForbiddenErrorResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * AddChannelForbiddenErrorResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; } diff --git a/lib/versions/v1/Model/AddDealFollowerRequest.php b/lib/versions/v1/Model/AddDealFollowerRequest.php index 250580bf..1471c814 100644 --- a/lib/versions/v1/Model/AddDealFollowerRequest.php +++ b/lib/versions/v1/Model/AddDealFollowerRequest.php @@ -2,7 +2,7 @@ /** * AddDealFollowerRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddDealParticipantRequest.php b/lib/versions/v1/Model/AddDealParticipantRequest.php index 320cffee..4b02c38a 100644 --- a/lib/versions/v1/Model/AddDealParticipantRequest.php +++ b/lib/versions/v1/Model/AddDealParticipantRequest.php @@ -2,7 +2,7 @@ /** * AddDealParticipantRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['person_id'] = $data['person_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddFile.php b/lib/versions/v1/Model/AddFile.php index 06f15714..542e863a 100644 --- a/lib/versions/v1/Model/AddFile.php +++ b/lib/versions/v1/Model/AddFile.php @@ -2,7 +2,7 @@ /** * AddFile * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddFilterRequest.php b/lib/versions/v1/Model/AddFilterRequest.php index a24ae144..e096b149 100644 --- a/lib/versions/v1/Model/AddFilterRequest.php +++ b/lib/versions/v1/Model/AddFilterRequest.php @@ -2,7 +2,7 @@ /** * AddFilterRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['conditions'] = $data['conditions'] ?? null; diff --git a/lib/versions/v1/Model/AddFollowerToPersonResponse.php b/lib/versions/v1/Model/AddFollowerToPersonResponse.php index 40a48f7a..1b469479 100644 --- a/lib/versions/v1/Model/AddFollowerToPersonResponse.php +++ b/lib/versions/v1/Model/AddFollowerToPersonResponse.php @@ -2,7 +2,7 @@ /** * AddFollowerToPersonResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddFollowerToPersonResponseAllOf.php b/lib/versions/v1/Model/AddFollowerToPersonResponseAllOf.php index 12f41383..bce9688f 100644 --- a/lib/versions/v1/Model/AddFollowerToPersonResponseAllOf.php +++ b/lib/versions/v1/Model/AddFollowerToPersonResponseAllOf.php @@ -2,7 +2,7 @@ /** * AddFollowerToPersonResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/AddFollowerToPersonResponseAllOfData.php b/lib/versions/v1/Model/AddFollowerToPersonResponseAllOfData.php index aa6b1269..daf8caca 100644 --- a/lib/versions/v1/Model/AddFollowerToPersonResponseAllOfData.php +++ b/lib/versions/v1/Model/AddFollowerToPersonResponseAllOfData.php @@ -2,7 +2,7 @@ /** * AddFollowerToPersonResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/AddLeadLabelRequest.php b/lib/versions/v1/Model/AddLeadLabelRequest.php index fa1cf29b..c457c120 100644 --- a/lib/versions/v1/Model/AddLeadLabelRequest.php +++ b/lib/versions/v1/Model/AddLeadLabelRequest.php @@ -2,7 +2,7 @@ /** * AddLeadLabelRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['color'] = $data['color'] ?? null; diff --git a/lib/versions/v1/Model/AddLeadRequest.php b/lib/versions/v1/Model/AddLeadRequest.php index 8c70c441..19947c3a 100644 --- a/lib/versions/v1/Model/AddLeadRequest.php +++ b/lib/versions/v1/Model/AddLeadRequest.php @@ -2,7 +2,7 @@ /** * AddLeadRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v1/Model/AddNoteRequest.php b/lib/versions/v1/Model/AddNoteRequest.php index 26977919..5c0b8528 100644 --- a/lib/versions/v1/Model/AddNoteRequest.php +++ b/lib/versions/v1/Model/AddNoteRequest.php @@ -2,7 +2,7 @@ /** * AddNoteRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = $data['content'] ?? null; $this->container['lead_id'] = $data['lead_id'] ?? null; diff --git a/lib/versions/v1/Model/AddNoteRequestAllOf.php b/lib/versions/v1/Model/AddNoteRequestAllOf.php index 5209c3ef..34898984 100644 --- a/lib/versions/v1/Model/AddNoteRequestAllOf.php +++ b/lib/versions/v1/Model/AddNoteRequestAllOf.php @@ -2,7 +2,7 @@ /** * AddNoteRequestAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = $data['content'] ?? null; $this->container['lead_id'] = $data['lead_id'] ?? null; diff --git a/lib/versions/v1/Model/AddOrUpdateRoleSettingRequest.php b/lib/versions/v1/Model/AddOrUpdateRoleSettingRequest.php index 4ddaf0b4..c25e59d5 100644 --- a/lib/versions/v1/Model/AddOrUpdateRoleSettingRequest.php +++ b/lib/versions/v1/Model/AddOrUpdateRoleSettingRequest.php @@ -2,7 +2,7 @@ /** * AddOrUpdateRoleSettingRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -246,7 +246,7 @@ public function getValueAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['setting_key'] = $data['setting_key'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/AddOrganizationFollowerRequest.php b/lib/versions/v1/Model/AddOrganizationFollowerRequest.php index 417f78e4..5e64d05e 100644 --- a/lib/versions/v1/Model/AddOrganizationFollowerRequest.php +++ b/lib/versions/v1/Model/AddOrganizationFollowerRequest.php @@ -2,7 +2,7 @@ /** * AddOrganizationFollowerRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddOrganizationRelationshipRequest.php b/lib/versions/v1/Model/AddOrganizationRelationshipRequest.php index 1e2be9e6..857c40ad 100644 --- a/lib/versions/v1/Model/AddOrganizationRelationshipRequest.php +++ b/lib/versions/v1/Model/AddOrganizationRelationshipRequest.php @@ -2,7 +2,7 @@ /** * AddOrganizationRelationshipRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -229,7 +229,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = $data['org_id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/AddPersonFollowerRequest.php b/lib/versions/v1/Model/AddPersonFollowerRequest.php index c434ee5a..02ee90c7 100644 --- a/lib/versions/v1/Model/AddPersonFollowerRequest.php +++ b/lib/versions/v1/Model/AddPersonFollowerRequest.php @@ -2,7 +2,7 @@ /** * AddPersonFollowerRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddPersonPictureResponse.php b/lib/versions/v1/Model/AddPersonPictureResponse.php index d0030f68..30ca1e23 100644 --- a/lib/versions/v1/Model/AddPersonPictureResponse.php +++ b/lib/versions/v1/Model/AddPersonPictureResponse.php @@ -2,7 +2,7 @@ /** * AddPersonPictureResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddPersonPictureResponseAllOf.php b/lib/versions/v1/Model/AddPersonPictureResponseAllOf.php index a140e5dc..5e624b04 100644 --- a/lib/versions/v1/Model/AddPersonPictureResponseAllOf.php +++ b/lib/versions/v1/Model/AddPersonPictureResponseAllOf.php @@ -2,7 +2,7 @@ /** * AddPersonPictureResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/AddProductFollowerRequest.php b/lib/versions/v1/Model/AddProductFollowerRequest.php index 8509e8ad..6ec4c597 100644 --- a/lib/versions/v1/Model/AddProductFollowerRequest.php +++ b/lib/versions/v1/Model/AddProductFollowerRequest.php @@ -2,7 +2,7 @@ /** * AddProductFollowerRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddProjectResponse.php b/lib/versions/v1/Model/AddProjectResponse.php index e2793f56..266bbf05 100644 --- a/lib/versions/v1/Model/AddProjectResponse.php +++ b/lib/versions/v1/Model/AddProjectResponse.php @@ -2,7 +2,7 @@ /** * AddProjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddRole.php b/lib/versions/v1/Model/AddRole.php index 9001980c..100be9e6 100644 --- a/lib/versions/v1/Model/AddRole.php +++ b/lib/versions/v1/Model/AddRole.php @@ -2,7 +2,7 @@ /** * AddRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['parent_role_id'] = $data['parent_role_id'] ?? null; diff --git a/lib/versions/v1/Model/AddRoleAssignmentRequest.php b/lib/versions/v1/Model/AddRoleAssignmentRequest.php index 68d609a2..2328c35c 100644 --- a/lib/versions/v1/Model/AddRoleAssignmentRequest.php +++ b/lib/versions/v1/Model/AddRoleAssignmentRequest.php @@ -2,7 +2,7 @@ /** * AddRoleAssignmentRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/AddRoleAssignmentResponseData.php b/lib/versions/v1/Model/AddRoleAssignmentResponseData.php index d126b0a4..8a308061 100644 --- a/lib/versions/v1/Model/AddRoleAssignmentResponseData.php +++ b/lib/versions/v1/Model/AddRoleAssignmentResponseData.php @@ -2,7 +2,7 @@ /** * AddRoleAssignmentResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/AddRoleAssignmentResponseDataData.php b/lib/versions/v1/Model/AddRoleAssignmentResponseDataData.php index 650fd4ac..4db8bc4e 100644 --- a/lib/versions/v1/Model/AddRoleAssignmentResponseDataData.php +++ b/lib/versions/v1/Model/AddRoleAssignmentResponseDataData.php @@ -2,7 +2,7 @@ /** * AddRoleAssignmentResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['role_id'] = $data['role_id'] ?? null; diff --git a/lib/versions/v1/Model/AddRolesResponseData.php b/lib/versions/v1/Model/AddRolesResponseData.php index 179bf0e1..099d3923 100644 --- a/lib/versions/v1/Model/AddRolesResponseData.php +++ b/lib/versions/v1/Model/AddRolesResponseData.php @@ -2,7 +2,7 @@ /** * AddRolesResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/AddTaskResponse.php b/lib/versions/v1/Model/AddTaskResponse.php index d3dc4fe7..b13a51f0 100644 --- a/lib/versions/v1/Model/AddTaskResponse.php +++ b/lib/versions/v1/Model/AddTaskResponse.php @@ -2,7 +2,7 @@ /** * AddTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddTeamUserRequest.php b/lib/versions/v1/Model/AddTeamUserRequest.php index 11de393e..f363e91e 100644 --- a/lib/versions/v1/Model/AddTeamUserRequest.php +++ b/lib/versions/v1/Model/AddTeamUserRequest.php @@ -2,7 +2,7 @@ /** * AddTeamUserRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['users'] = $data['users'] ?? null; } diff --git a/lib/versions/v1/Model/AddUserRequest.php b/lib/versions/v1/Model/AddUserRequest.php index 0570abd8..916a52a9 100644 --- a/lib/versions/v1/Model/AddUserRequest.php +++ b/lib/versions/v1/Model/AddUserRequest.php @@ -2,7 +2,7 @@ /** * AddUserRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['access'] = $data['access'] ?? null; diff --git a/lib/versions/v1/Model/AddWebhookRequest.php b/lib/versions/v1/Model/AddWebhookRequest.php index 3c8e557e..9111b641 100644 --- a/lib/versions/v1/Model/AddWebhookRequest.php +++ b/lib/versions/v1/Model/AddWebhookRequest.php @@ -2,7 +2,7 @@ /** * AddWebhookRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -305,7 +305,7 @@ public function getVersionAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['subscription_url'] = $data['subscription_url'] ?? null; $this->container['event_action'] = $data['event_action'] ?? null; diff --git a/lib/versions/v1/Model/AddedDealFollower.php b/lib/versions/v1/Model/AddedDealFollower.php index e56da7c5..00c1c73d 100644 --- a/lib/versions/v1/Model/AddedDealFollower.php +++ b/lib/versions/v1/Model/AddedDealFollower.php @@ -2,7 +2,7 @@ /** * AddedDealFollower * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AddedDealFollowerData.php b/lib/versions/v1/Model/AddedDealFollowerData.php index 675500a8..fa941c7f 100644 --- a/lib/versions/v1/Model/AddedDealFollowerData.php +++ b/lib/versions/v1/Model/AddedDealFollowerData.php @@ -2,7 +2,7 @@ /** * AddedDealFollowerData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/AdditionalBaseOrganizationItemInfo.php b/lib/versions/v1/Model/AdditionalBaseOrganizationItemInfo.php index da85a239..79b786e1 100644 --- a/lib/versions/v1/Model/AdditionalBaseOrganizationItemInfo.php +++ b/lib/versions/v1/Model/AdditionalBaseOrganizationItemInfo.php @@ -2,7 +2,7 @@ /** * AdditionalBaseOrganizationItemInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -352,7 +352,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/AdditionalData.php b/lib/versions/v1/Model/AdditionalData.php index e1ced818..3771c1c6 100644 --- a/lib/versions/v1/Model/AdditionalData.php +++ b/lib/versions/v1/Model/AdditionalData.php @@ -2,7 +2,7 @@ /** * AdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_start'] = $data['next_start'] ?? null; $this->container['start'] = $data['start'] ?? null; diff --git a/lib/versions/v1/Model/AdditionalDataWithCursorPagination.php b/lib/versions/v1/Model/AdditionalDataWithCursorPagination.php index 24727299..629d16ae 100644 --- a/lib/versions/v1/Model/AdditionalDataWithCursorPagination.php +++ b/lib/versions/v1/Model/AdditionalDataWithCursorPagination.php @@ -2,7 +2,7 @@ /** * AdditionalDataWithCursorPagination * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_cursor'] = $data['next_cursor'] ?? null; } diff --git a/lib/versions/v1/Model/AdditionalDataWithOffsetPagination.php b/lib/versions/v1/Model/AdditionalDataWithOffsetPagination.php index 42c3a0d2..f23e8fbc 100644 --- a/lib/versions/v1/Model/AdditionalDataWithOffsetPagination.php +++ b/lib/versions/v1/Model/AdditionalDataWithOffsetPagination.php @@ -2,7 +2,7 @@ /** * AdditionalDataWithOffsetPagination * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pagination'] = $data['pagination'] ?? null; } diff --git a/lib/versions/v1/Model/AdditionalDataWithPaginationDetails.php b/lib/versions/v1/Model/AdditionalDataWithPaginationDetails.php index d38e17da..d7abebf9 100644 --- a/lib/versions/v1/Model/AdditionalDataWithPaginationDetails.php +++ b/lib/versions/v1/Model/AdditionalDataWithPaginationDetails.php @@ -2,7 +2,7 @@ /** * AdditionalDataWithPaginationDetails * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pagination'] = $data['pagination'] ?? null; } diff --git a/lib/versions/v1/Model/AdditionalMergePersonInfo.php b/lib/versions/v1/Model/AdditionalMergePersonInfo.php index 5b48c5f7..1e60a9b7 100644 --- a/lib/versions/v1/Model/AdditionalMergePersonInfo.php +++ b/lib/versions/v1/Model/AdditionalMergePersonInfo.php @@ -2,7 +2,7 @@ /** * AdditionalMergePersonInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -342,7 +342,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/AdditionalPersonInfo.php b/lib/versions/v1/Model/AdditionalPersonInfo.php index e3f232a8..be1df5d9 100644 --- a/lib/versions/v1/Model/AdditionalPersonInfo.php +++ b/lib/versions/v1/Model/AdditionalPersonInfo.php @@ -2,7 +2,7 @@ /** * AdditionalPersonInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -327,7 +327,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponse.php b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponse.php index 8e962915..ae13d127 100644 --- a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponse.php +++ b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponse.php @@ -2,7 +2,7 @@ /** * AllOrganizationRelationshipsGetResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOf.php b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOf.php index 24485819..1c19e4c1 100644 --- a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOf.php +++ b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOf.php @@ -2,7 +2,7 @@ /** * AllOrganizationRelationshipsGetResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.php b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.php index 01488206..aec9012f 100644 --- a/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.php +++ b/lib/versions/v1/Model/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.php @@ -2,7 +2,7 @@ /** * AllOrganizationRelationshipsGetResponseAllOfRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization'] = $data['organization'] ?? null; } diff --git a/lib/versions/v1/Model/AnyOfRecents.php b/lib/versions/v1/Model/AnyOfRecents.php index 57fdb61c..3e0fdd0c 100644 --- a/lib/versions/v1/Model/AnyOfRecents.php +++ b/lib/versions/v1/Model/AnyOfRecents.php @@ -2,7 +2,7 @@ /** * AnyOfRecents - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -28,7 +28,7 @@ /** * AnyOfRecents Class Doc Comment - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -134,7 +134,7 @@ public function getModelName(): string * @psalm-param array|null $data * @param array|null $data Associated array of property values initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v1/Model/Assignee.php b/lib/versions/v1/Model/Assignee.php index 95fcc762..6d44819f 100644 --- a/lib/versions/v1/Model/Assignee.php +++ b/lib/versions/v1/Model/Assignee.php @@ -2,7 +2,7 @@ /** * Assignee * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/BaseComment.php b/lib/versions/v1/Model/BaseComment.php index 80bb5bfa..baa08b4f 100644 --- a/lib/versions/v1/Model/BaseComment.php +++ b/lib/versions/v1/Model/BaseComment.php @@ -2,7 +2,7 @@ /** * BaseComment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['uuid'] = $data['uuid'] ?? null; $this->container['active_flag'] = $data['active_flag'] ?? null; diff --git a/lib/versions/v1/Model/BaseCurrency.php b/lib/versions/v1/Model/BaseCurrency.php index 8954b7c9..07427cff 100644 --- a/lib/versions/v1/Model/BaseCurrency.php +++ b/lib/versions/v1/Model/BaseCurrency.php @@ -2,7 +2,7 @@ /** * BaseCurrency * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/lib/versions/v1/Model/BaseDeal.php b/lib/versions/v1/Model/BaseDeal.php index 4cd9c304..48061b30 100644 --- a/lib/versions/v1/Model/BaseDeal.php +++ b/lib/versions/v1/Model/BaseDeal.php @@ -2,7 +2,7 @@ /** * BaseDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -507,7 +507,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stage_id'] = $data['stage_id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/BaseFollowerItem.php b/lib/versions/v1/Model/BaseFollowerItem.php index 9b25da08..ce7c52ea 100644 --- a/lib/versions/v1/Model/BaseFollowerItem.php +++ b/lib/versions/v1/Model/BaseFollowerItem.php @@ -2,7 +2,7 @@ /** * BaseFollowerItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/BaseMailThread.php b/lib/versions/v1/Model/BaseMailThread.php index 8a50b620..01749f61 100644 --- a/lib/versions/v1/Model/BaseMailThread.php +++ b/lib/versions/v1/Model/BaseMailThread.php @@ -2,7 +2,7 @@ /** * BaseMailThread * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -377,7 +377,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['account_id'] = $data['account_id'] ?? null; diff --git a/lib/versions/v1/Model/BaseMailThreadAllOf.php b/lib/versions/v1/Model/BaseMailThreadAllOf.php index 6f8964de..b5a46a07 100644 --- a/lib/versions/v1/Model/BaseMailThreadAllOf.php +++ b/lib/versions/v1/Model/BaseMailThreadAllOf.php @@ -2,7 +2,7 @@ /** * BaseMailThreadAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -307,7 +307,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['parties'] = $data['parties'] ?? null; $this->container['drafts_parties'] = $data['drafts_parties'] ?? null; diff --git a/lib/versions/v1/Model/BaseMailThreadAllOfParties.php b/lib/versions/v1/Model/BaseMailThreadAllOfParties.php index 5f066fdd..2e7ce6d3 100644 --- a/lib/versions/v1/Model/BaseMailThreadAllOfParties.php +++ b/lib/versions/v1/Model/BaseMailThreadAllOfParties.php @@ -2,7 +2,7 @@ /** * BaseMailThreadAllOfParties * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['from'] = $data['from'] ?? null; diff --git a/lib/versions/v1/Model/BaseMailThreadMessages.php b/lib/versions/v1/Model/BaseMailThreadMessages.php index bdb029d0..2c2b9db3 100644 --- a/lib/versions/v1/Model/BaseMailThreadMessages.php +++ b/lib/versions/v1/Model/BaseMailThreadMessages.php @@ -2,7 +2,7 @@ /** * BaseMailThreadMessages * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -327,7 +327,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['account_id'] = $data['account_id'] ?? null; diff --git a/lib/versions/v1/Model/BaseMailThreadMessagesAllOf.php b/lib/versions/v1/Model/BaseMailThreadMessagesAllOf.php index 4921167a..9aa96de3 100644 --- a/lib/versions/v1/Model/BaseMailThreadMessagesAllOf.php +++ b/lib/versions/v1/Model/BaseMailThreadMessagesAllOf.php @@ -2,7 +2,7 @@ /** * BaseMailThreadMessagesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/lib/versions/v1/Model/BaseNote.php b/lib/versions/v1/Model/BaseNote.php index fd72f509..867e6d66 100644 --- a/lib/versions/v1/Model/BaseNote.php +++ b/lib/versions/v1/Model/BaseNote.php @@ -2,7 +2,7 @@ /** * BaseNote * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -312,7 +312,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['active_flag'] = $data['active_flag'] ?? null; diff --git a/lib/versions/v1/Model/BaseNoteDealTitle.php b/lib/versions/v1/Model/BaseNoteDealTitle.php index b66d41b4..e590c7a8 100644 --- a/lib/versions/v1/Model/BaseNoteDealTitle.php +++ b/lib/versions/v1/Model/BaseNoteDealTitle.php @@ -2,7 +2,7 @@ /** * BaseNoteDealTitle * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; } diff --git a/lib/versions/v1/Model/BaseNoteOrganization.php b/lib/versions/v1/Model/BaseNoteOrganization.php index 7e948d6a..02010f83 100644 --- a/lib/versions/v1/Model/BaseNoteOrganization.php +++ b/lib/versions/v1/Model/BaseNoteOrganization.php @@ -2,7 +2,7 @@ /** * BaseNoteOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; } diff --git a/lib/versions/v1/Model/BaseNotePerson.php b/lib/versions/v1/Model/BaseNotePerson.php index 246b4bde..5096858d 100644 --- a/lib/versions/v1/Model/BaseNotePerson.php +++ b/lib/versions/v1/Model/BaseNotePerson.php @@ -2,7 +2,7 @@ /** * BaseNotePerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; } diff --git a/lib/versions/v1/Model/BaseNoteProject.php b/lib/versions/v1/Model/BaseNoteProject.php index b63f728f..72212fd5 100644 --- a/lib/versions/v1/Model/BaseNoteProject.php +++ b/lib/versions/v1/Model/BaseNoteProject.php @@ -2,7 +2,7 @@ /** * BaseNoteProject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; } diff --git a/lib/versions/v1/Model/BaseNoteTask.php b/lib/versions/v1/Model/BaseNoteTask.php index cf8242c1..334ce773 100644 --- a/lib/versions/v1/Model/BaseNoteTask.php +++ b/lib/versions/v1/Model/BaseNoteTask.php @@ -2,7 +2,7 @@ /** * BaseNoteTask * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; } diff --git a/lib/versions/v1/Model/BaseOrganizationItem.php b/lib/versions/v1/Model/BaseOrganizationItem.php index d24bde86..72e1ec9a 100644 --- a/lib/versions/v1/Model/BaseOrganizationItem.php +++ b/lib/versions/v1/Model/BaseOrganizationItem.php @@ -2,7 +2,7 @@ /** * BaseOrganizationItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -427,7 +427,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/BaseOrganizationItemFields.php b/lib/versions/v1/Model/BaseOrganizationItemFields.php index 59487333..dce9f10e 100644 --- a/lib/versions/v1/Model/BaseOrganizationItemFields.php +++ b/lib/versions/v1/Model/BaseOrganizationItemFields.php @@ -2,7 +2,7 @@ /** * BaseOrganizationItemFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/BaseOrganizationRelationshipItem.php b/lib/versions/v1/Model/BaseOrganizationRelationshipItem.php index 59e56209..823d9cf1 100644 --- a/lib/versions/v1/Model/BaseOrganizationRelationshipItem.php +++ b/lib/versions/v1/Model/BaseOrganizationRelationshipItem.php @@ -2,7 +2,7 @@ /** * BaseOrganizationRelationshipItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/BasePersonItem.php b/lib/versions/v1/Model/BasePersonItem.php index a04deec3..5913ad1f 100644 --- a/lib/versions/v1/Model/BasePersonItem.php +++ b/lib/versions/v1/Model/BasePersonItem.php @@ -2,7 +2,7 @@ /** * BasePersonItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/BasePersonItemEmail.php b/lib/versions/v1/Model/BasePersonItemEmail.php index 2ef3fab7..cc0c10da 100644 --- a/lib/versions/v1/Model/BasePersonItemEmail.php +++ b/lib/versions/v1/Model/BasePersonItemEmail.php @@ -2,7 +2,7 @@ /** * BasePersonItemEmail * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v1/Model/BasePersonItemPhone.php b/lib/versions/v1/Model/BasePersonItemPhone.php index 53ffc699..fd5f92d7 100644 --- a/lib/versions/v1/Model/BasePersonItemPhone.php +++ b/lib/versions/v1/Model/BasePersonItemPhone.php @@ -2,7 +2,7 @@ /** * BasePersonItemPhone * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v1/Model/BasePipeline.php b/lib/versions/v1/Model/BasePipeline.php index 3c094ab4..2959f0e5 100644 --- a/lib/versions/v1/Model/BasePipeline.php +++ b/lib/versions/v1/Model/BasePipeline.php @@ -2,7 +2,7 @@ /** * BasePipeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/BaseResponse.php b/lib/versions/v1/Model/BaseResponse.php index 5a94937f..2dc8534a 100644 --- a/lib/versions/v1/Model/BaseResponse.php +++ b/lib/versions/v1/Model/BaseResponse.php @@ -2,7 +2,7 @@ /** * BaseResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v1/Model/BaseResponseWithStatus.php b/lib/versions/v1/Model/BaseResponseWithStatus.php index d67c9e7a..9c6bfd9e 100644 --- a/lib/versions/v1/Model/BaseResponseWithStatus.php +++ b/lib/versions/v1/Model/BaseResponseWithStatus.php @@ -2,7 +2,7 @@ /** * BaseResponseWithStatus * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status'] = $data['status'] ?? null; diff --git a/lib/versions/v1/Model/BaseResponseWithStatusAllOf.php b/lib/versions/v1/Model/BaseResponseWithStatusAllOf.php index 5488b96b..a5222989 100644 --- a/lib/versions/v1/Model/BaseResponseWithStatusAllOf.php +++ b/lib/versions/v1/Model/BaseResponseWithStatusAllOf.php @@ -2,7 +2,7 @@ /** * BaseResponseWithStatusAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; } diff --git a/lib/versions/v1/Model/BaseRole.php b/lib/versions/v1/Model/BaseRole.php index 3191abce..51e130c6 100644 --- a/lib/versions/v1/Model/BaseRole.php +++ b/lib/versions/v1/Model/BaseRole.php @@ -2,7 +2,7 @@ /** * BaseRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['parent_role_id'] = $data['parent_role_id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/BaseStage.php b/lib/versions/v1/Model/BaseStage.php index 1b2c1608..592e49e0 100644 --- a/lib/versions/v1/Model/BaseStage.php +++ b/lib/versions/v1/Model/BaseStage.php @@ -2,7 +2,7 @@ /** * BaseStage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['order_nr'] = $data['order_nr'] ?? null; diff --git a/lib/versions/v1/Model/BaseTeam.php b/lib/versions/v1/Model/BaseTeam.php index 640ef0ba..3b12ee25 100644 --- a/lib/versions/v1/Model/BaseTeam.php +++ b/lib/versions/v1/Model/BaseTeam.php @@ -2,7 +2,7 @@ /** * BaseTeam * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/BaseTeamAdditionalProperties.php b/lib/versions/v1/Model/BaseTeamAdditionalProperties.php index 42460618..6bde279d 100644 --- a/lib/versions/v1/Model/BaseTeamAdditionalProperties.php +++ b/lib/versions/v1/Model/BaseTeamAdditionalProperties.php @@ -2,7 +2,7 @@ /** * BaseTeamAdditionalProperties * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_time'] = $data['add_time'] ?? null; $this->container['created_by_user_id'] = $data['created_by_user_id'] ?? null; diff --git a/lib/versions/v1/Model/BaseUser.php b/lib/versions/v1/Model/BaseUser.php index 0556fb0a..c01753c9 100644 --- a/lib/versions/v1/Model/BaseUser.php +++ b/lib/versions/v1/Model/BaseUser.php @@ -2,7 +2,7 @@ /** * BaseUser * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -292,7 +292,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/BaseUserMe.php b/lib/versions/v1/Model/BaseUserMe.php index 55ef4fb1..30cb9d00 100644 --- a/lib/versions/v1/Model/BaseUserMe.php +++ b/lib/versions/v1/Model/BaseUserMe.php @@ -2,7 +2,7 @@ /** * BaseUserMe * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -322,7 +322,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/BaseUserMeAllOf.php b/lib/versions/v1/Model/BaseUserMeAllOf.php index 7f2ca2f1..6acf3a0b 100644 --- a/lib/versions/v1/Model/BaseUserMeAllOf.php +++ b/lib/versions/v1/Model/BaseUserMeAllOf.php @@ -2,7 +2,7 @@ /** * BaseUserMeAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['company_id'] = $data['company_id'] ?? null; $this->container['company_name'] = $data['company_name'] ?? null; diff --git a/lib/versions/v1/Model/BaseUserMeAllOfLanguage.php b/lib/versions/v1/Model/BaseUserMeAllOfLanguage.php index 4638452e..d160803a 100644 --- a/lib/versions/v1/Model/BaseUserMeAllOfLanguage.php +++ b/lib/versions/v1/Model/BaseUserMeAllOfLanguage.php @@ -2,7 +2,7 @@ /** * BaseUserMeAllOfLanguage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['language_code'] = $data['language_code'] ?? null; $this->container['country_code'] = $data['country_code'] ?? null; diff --git a/lib/versions/v1/Model/BaseWebhook.php b/lib/versions/v1/Model/BaseWebhook.php index 9c64046e..f5fcff17 100644 --- a/lib/versions/v1/Model/BaseWebhook.php +++ b/lib/versions/v1/Model/BaseWebhook.php @@ -2,7 +2,7 @@ /** * BaseWebhook * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -306,7 +306,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/BasicGoal.php b/lib/versions/v1/Model/BasicGoal.php index 5f1f5a78..133f563a 100644 --- a/lib/versions/v1/Model/BasicGoal.php +++ b/lib/versions/v1/Model/BasicGoal.php @@ -2,7 +2,7 @@ /** * BasicGoal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -243,7 +243,7 @@ public function getIntervalAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['assignee'] = $data['assignee'] ?? null; diff --git a/lib/versions/v1/Model/BulkDeleteResponse.php b/lib/versions/v1/Model/BulkDeleteResponse.php index 9899d58e..5448e5ec 100644 --- a/lib/versions/v1/Model/BulkDeleteResponse.php +++ b/lib/versions/v1/Model/BulkDeleteResponse.php @@ -2,7 +2,7 @@ /** * BulkDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/BulkDeleteResponseAllOf.php b/lib/versions/v1/Model/BulkDeleteResponseAllOf.php index cf74c3a5..24e19eaa 100644 --- a/lib/versions/v1/Model/BulkDeleteResponseAllOf.php +++ b/lib/versions/v1/Model/BulkDeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * BulkDeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/BulkDeleteResponseAllOfData.php b/lib/versions/v1/Model/BulkDeleteResponseAllOfData.php index ff22ad84..836fa03f 100644 --- a/lib/versions/v1/Model/BulkDeleteResponseAllOfData.php +++ b/lib/versions/v1/Model/BulkDeleteResponseAllOfData.php @@ -2,7 +2,7 @@ /** * BulkDeleteResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/CalculatedFields.php b/lib/versions/v1/Model/CalculatedFields.php index 59268865..26f66e42 100644 --- a/lib/versions/v1/Model/CalculatedFields.php +++ b/lib/versions/v1/Model/CalculatedFields.php @@ -2,7 +2,7 @@ /** * CalculatedFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['calculated_type'] = $data['calculated_type'] ?? null; $this->container['calculated_related_org_id'] = $data['calculated_related_org_id'] ?? null; diff --git a/lib/versions/v1/Model/CallLogBadRequestResponse.php b/lib/versions/v1/Model/CallLogBadRequestResponse.php index 3a5ffd29..abac19ee 100644 --- a/lib/versions/v1/Model/CallLogBadRequestResponse.php +++ b/lib/versions/v1/Model/CallLogBadRequestResponse.php @@ -2,7 +2,7 @@ /** * CallLogBadRequestResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogConflictResponse.php b/lib/versions/v1/Model/CallLogConflictResponse.php index 8d859f1f..1f5c09bb 100644 --- a/lib/versions/v1/Model/CallLogConflictResponse.php +++ b/lib/versions/v1/Model/CallLogConflictResponse.php @@ -2,7 +2,7 @@ /** * CallLogConflictResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogForbiddenResponse.php b/lib/versions/v1/Model/CallLogForbiddenResponse.php index 50573900..de70993a 100644 --- a/lib/versions/v1/Model/CallLogForbiddenResponse.php +++ b/lib/versions/v1/Model/CallLogForbiddenResponse.php @@ -2,7 +2,7 @@ /** * CallLogForbiddenResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogGoneResponse.php b/lib/versions/v1/Model/CallLogGoneResponse.php index 59f1e571..e1f21040 100644 --- a/lib/versions/v1/Model/CallLogGoneResponse.php +++ b/lib/versions/v1/Model/CallLogGoneResponse.php @@ -2,7 +2,7 @@ /** * CallLogGoneResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogInternalErrorResponse.php b/lib/versions/v1/Model/CallLogInternalErrorResponse.php index 2ca061c2..447ca617 100644 --- a/lib/versions/v1/Model/CallLogInternalErrorResponse.php +++ b/lib/versions/v1/Model/CallLogInternalErrorResponse.php @@ -2,7 +2,7 @@ /** * CallLogInternalErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogNotFoundResponse.php b/lib/versions/v1/Model/CallLogNotFoundResponse.php index 34d61b6d..992f61d4 100644 --- a/lib/versions/v1/Model/CallLogNotFoundResponse.php +++ b/lib/versions/v1/Model/CallLogNotFoundResponse.php @@ -2,7 +2,7 @@ /** * CallLogNotFoundResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/CallLogObject.php b/lib/versions/v1/Model/CallLogObject.php index 296d9fa4..7ba3f401 100644 --- a/lib/versions/v1/Model/CallLogObject.php +++ b/lib/versions/v1/Model/CallLogObject.php @@ -2,7 +2,7 @@ /** * CallLogObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -287,7 +287,7 @@ public function getOutcomeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['activity_id'] = $data['activity_id'] ?? null; diff --git a/lib/versions/v1/Model/CallLogResponse200.php b/lib/versions/v1/Model/CallLogResponse200.php index bf9c29d7..6149311a 100644 --- a/lib/versions/v1/Model/CallLogResponse200.php +++ b/lib/versions/v1/Model/CallLogResponse200.php @@ -2,7 +2,7 @@ /** * CallLogResponse200 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/CallLogsResponse.php b/lib/versions/v1/Model/CallLogsResponse.php index e6783d47..93fb7876 100644 --- a/lib/versions/v1/Model/CallLogsResponse.php +++ b/lib/versions/v1/Model/CallLogsResponse.php @@ -2,7 +2,7 @@ /** * CallLogsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/CallLogsResponseAdditionalData.php b/lib/versions/v1/Model/CallLogsResponseAdditionalData.php index 2b8ffb13..f191c703 100644 --- a/lib/versions/v1/Model/CallLogsResponseAdditionalData.php +++ b/lib/versions/v1/Model/CallLogsResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * CallLogsResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pagination'] = $data['pagination'] ?? null; } diff --git a/lib/versions/v1/Model/ChangelogResponse.php b/lib/versions/v1/Model/ChangelogResponse.php index 303c4c7c..9ab0defc 100644 --- a/lib/versions/v1/Model/ChangelogResponse.php +++ b/lib/versions/v1/Model/ChangelogResponse.php @@ -2,7 +2,7 @@ /** * ChangelogResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ChangelogResponseAllOf.php b/lib/versions/v1/Model/ChangelogResponseAllOf.php index 5f5184bf..9b590e13 100644 --- a/lib/versions/v1/Model/ChangelogResponseAllOf.php +++ b/lib/versions/v1/Model/ChangelogResponseAllOf.php @@ -2,7 +2,7 @@ /** * ChangelogResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ChangelogResponseAllOfData.php b/lib/versions/v1/Model/ChangelogResponseAllOfData.php index 3a425a8c..07323c00 100644 --- a/lib/versions/v1/Model/ChangelogResponseAllOfData.php +++ b/lib/versions/v1/Model/ChangelogResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ChangelogResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_key'] = $data['field_key'] ?? null; $this->container['old_value'] = $data['old_value'] ?? null; diff --git a/lib/versions/v1/Model/ChannelObject.php b/lib/versions/v1/Model/ChannelObject.php index eadf17d8..9f9e2603 100644 --- a/lib/versions/v1/Model/ChannelObject.php +++ b/lib/versions/v1/Model/ChannelObject.php @@ -2,7 +2,7 @@ /** * ChannelObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -236,7 +236,7 @@ public function getProviderTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['provider_channel_id'] = $data['provider_channel_id'] ?? null; diff --git a/lib/versions/v1/Model/ChannelObjectResponse.php b/lib/versions/v1/Model/ChannelObjectResponse.php index 617715fc..f5fb357a 100644 --- a/lib/versions/v1/Model/ChannelObjectResponse.php +++ b/lib/versions/v1/Model/ChannelObjectResponse.php @@ -2,7 +2,7 @@ /** * ChannelObjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ChannelObjectResponseData.php b/lib/versions/v1/Model/ChannelObjectResponseData.php index e1ca983b..751be41b 100644 --- a/lib/versions/v1/Model/ChannelObjectResponseData.php +++ b/lib/versions/v1/Model/ChannelObjectResponseData.php @@ -2,7 +2,7 @@ /** * ChannelObjectResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -261,7 +261,7 @@ public function getProviderTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/CommentPostPutObject.php b/lib/versions/v1/Model/CommentPostPutObject.php index d38bafdf..0a514715 100644 --- a/lib/versions/v1/Model/CommentPostPutObject.php +++ b/lib/versions/v1/Model/CommentPostPutObject.php @@ -2,7 +2,7 @@ /** * CommentPostPutObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = $data['content'] ?? null; } diff --git a/lib/versions/v1/Model/CommonMailThread.php b/lib/versions/v1/Model/CommonMailThread.php index 461915f3..52dcb62f 100644 --- a/lib/versions/v1/Model/CommonMailThread.php +++ b/lib/versions/v1/Model/CommonMailThread.php @@ -2,7 +2,7 @@ /** * CommonMailThread * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['account_id'] = $data['account_id'] ?? null; diff --git a/lib/versions/v1/Model/CreateRemoteFileAndLinkItToItem.php b/lib/versions/v1/Model/CreateRemoteFileAndLinkItToItem.php index 47eb0dd6..2a5bd521 100644 --- a/lib/versions/v1/Model/CreateRemoteFileAndLinkItToItem.php +++ b/lib/versions/v1/Model/CreateRemoteFileAndLinkItToItem.php @@ -2,7 +2,7 @@ /** * CreateRemoteFileAndLinkItToItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/CreateTeam.php b/lib/versions/v1/Model/CreateTeam.php index 98dd7ab5..270a2778 100644 --- a/lib/versions/v1/Model/CreateTeam.php +++ b/lib/versions/v1/Model/CreateTeam.php @@ -2,7 +2,7 @@ /** * CreateTeam * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['description'] = $data['description'] ?? null; diff --git a/lib/versions/v1/Model/Currencies.php b/lib/versions/v1/Model/Currencies.php index 4669be80..20612b6f 100644 --- a/lib/versions/v1/Model/Currencies.php +++ b/lib/versions/v1/Model/Currencies.php @@ -2,7 +2,7 @@ /** * Currencies * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DealCountAndActivityInfo.php b/lib/versions/v1/Model/DealCountAndActivityInfo.php index dddbef64..2d1a79aa 100644 --- a/lib/versions/v1/Model/DealCountAndActivityInfo.php +++ b/lib/versions/v1/Model/DealCountAndActivityInfo.php @@ -2,7 +2,7 @@ /** * DealCountAndActivityInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['open_deals_count'] = $data['open_deals_count'] ?? null; $this->container['related_open_deals_count'] = $data['related_open_deals_count'] ?? null; diff --git a/lib/versions/v1/Model/DealFlowResponse.php b/lib/versions/v1/Model/DealFlowResponse.php index 58056181..0344492a 100644 --- a/lib/versions/v1/Model/DealFlowResponse.php +++ b/lib/versions/v1/Model/DealFlowResponse.php @@ -2,7 +2,7 @@ /** * DealFlowResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DealFlowResponseAllOf.php b/lib/versions/v1/Model/DealFlowResponseAllOf.php index 04bcc88e..9661719c 100644 --- a/lib/versions/v1/Model/DealFlowResponseAllOf.php +++ b/lib/versions/v1/Model/DealFlowResponseAllOf.php @@ -2,7 +2,7 @@ /** * DealFlowResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/DealFlowResponseAllOfData.php b/lib/versions/v1/Model/DealFlowResponseAllOfData.php index 10cababa..27a4e2be 100644 --- a/lib/versions/v1/Model/DealFlowResponseAllOfData.php +++ b/lib/versions/v1/Model/DealFlowResponseAllOfData.php @@ -2,7 +2,7 @@ /** * DealFlowResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/lib/versions/v1/Model/DealFlowResponseAllOfRelatedObjects.php b/lib/versions/v1/Model/DealFlowResponseAllOfRelatedObjects.php index 9e34d386..82f8c0b6 100644 --- a/lib/versions/v1/Model/DealFlowResponseAllOfRelatedObjects.php +++ b/lib/versions/v1/Model/DealFlowResponseAllOfRelatedObjects.php @@ -2,7 +2,7 @@ /** * DealFlowResponseAllOfRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal'] = $data['deal'] ?? null; $this->container['organization'] = $data['organization'] ?? null; diff --git a/lib/versions/v1/Model/DealNonStrict.php b/lib/versions/v1/Model/DealNonStrict.php index e8490a92..add549dd 100644 --- a/lib/versions/v1/Model/DealNonStrict.php +++ b/lib/versions/v1/Model/DealNonStrict.php @@ -2,7 +2,7 @@ /** * DealNonStrict * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -532,7 +532,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['creator_user_id'] = $data['creator_user_id'] ?? null; diff --git a/lib/versions/v1/Model/DealNonStrictModeFields.php b/lib/versions/v1/Model/DealNonStrictModeFields.php index 16ef8f5d..832444a3 100644 --- a/lib/versions/v1/Model/DealNonStrictModeFields.php +++ b/lib/versions/v1/Model/DealNonStrictModeFields.php @@ -2,7 +2,7 @@ /** * DealNonStrictModeFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['creator_user_id'] = $data['creator_user_id'] ?? null; diff --git a/lib/versions/v1/Model/DealNonStrictModeFieldsCreatorUserId.php b/lib/versions/v1/Model/DealNonStrictModeFieldsCreatorUserId.php index c10769af..8b2e955f 100644 --- a/lib/versions/v1/Model/DealNonStrictModeFieldsCreatorUserId.php +++ b/lib/versions/v1/Model/DealNonStrictModeFieldsCreatorUserId.php @@ -2,7 +2,7 @@ /** * DealNonStrictModeFieldsCreatorUserId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealOrganizationData.php b/lib/versions/v1/Model/DealOrganizationData.php index 77087776..2f7bf62b 100644 --- a/lib/versions/v1/Model/DealOrganizationData.php +++ b/lib/versions/v1/Model/DealOrganizationData.php @@ -2,7 +2,7 @@ /** * DealOrganizationData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/DealOrganizationDataWithId.php b/lib/versions/v1/Model/DealOrganizationDataWithId.php index 120c0bb4..d0d0e0bd 100644 --- a/lib/versions/v1/Model/DealOrganizationDataWithId.php +++ b/lib/versions/v1/Model/DealOrganizationDataWithId.php @@ -2,7 +2,7 @@ /** * DealOrganizationDataWithId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/DealOrganizationDataWithIdAllOf.php b/lib/versions/v1/Model/DealOrganizationDataWithIdAllOf.php index 9f43fd44..534af55c 100644 --- a/lib/versions/v1/Model/DealOrganizationDataWithIdAllOf.php +++ b/lib/versions/v1/Model/DealOrganizationDataWithIdAllOf.php @@ -2,7 +2,7 @@ /** * DealOrganizationDataWithIdAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/DealParticipantCountInfo.php b/lib/versions/v1/Model/DealParticipantCountInfo.php index 63d363b9..f051a1eb 100644 --- a/lib/versions/v1/Model/DealParticipantCountInfo.php +++ b/lib/versions/v1/Model/DealParticipantCountInfo.php @@ -2,7 +2,7 @@ /** * DealParticipantCountInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['participant_open_deals_count'] = $data['participant_open_deals_count'] ?? null; $this->container['participant_closed_deals_count'] = $data['participant_closed_deals_count'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipantItem.php b/lib/versions/v1/Model/DealParticipantItem.php index 581dd30e..bbd6bbb7 100644 --- a/lib/versions/v1/Model/DealParticipantItem.php +++ b/lib/versions/v1/Model/DealParticipantItem.php @@ -2,7 +2,7 @@ /** * DealParticipantItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['person_id'] = $data['person_id'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipantItemPersonId.php b/lib/versions/v1/Model/DealParticipantItemPersonId.php index 593a3789..0115b7fb 100644 --- a/lib/versions/v1/Model/DealParticipantItemPersonId.php +++ b/lib/versions/v1/Model/DealParticipantItemPersonId.php @@ -2,7 +2,7 @@ /** * DealParticipantItemPersonId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipantItemPersonIdEmail.php b/lib/versions/v1/Model/DealParticipantItemPersonIdEmail.php index 5fcb163e..d1dee64f 100644 --- a/lib/versions/v1/Model/DealParticipantItemPersonIdEmail.php +++ b/lib/versions/v1/Model/DealParticipantItemPersonIdEmail.php @@ -2,7 +2,7 @@ /** * DealParticipantItemPersonIdEmail * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipantItemRelatedItemData.php b/lib/versions/v1/Model/DealParticipantItemRelatedItemData.php index d6db4fef..7bb3ff92 100644 --- a/lib/versions/v1/Model/DealParticipantItemRelatedItemData.php +++ b/lib/versions/v1/Model/DealParticipantItemRelatedItemData.php @@ -2,7 +2,7 @@ /** * DealParticipantItemRelatedItemData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal_id'] = $data['deal_id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipants.php b/lib/versions/v1/Model/DealParticipants.php index 1ea9132a..85ec8091 100644 --- a/lib/versions/v1/Model/DealParticipants.php +++ b/lib/versions/v1/Model/DealParticipants.php @@ -2,7 +2,7 @@ /** * DealParticipants * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DealParticipantsChangelog.php b/lib/versions/v1/Model/DealParticipantsChangelog.php index 3a251a8c..f065124a 100644 --- a/lib/versions/v1/Model/DealParticipantsChangelog.php +++ b/lib/versions/v1/Model/DealParticipantsChangelog.php @@ -2,7 +2,7 @@ /** * DealParticipantsChangelog * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['actor_user_id'] = $data['actor_user_id'] ?? null; $this->container['person_id'] = $data['person_id'] ?? null; diff --git a/lib/versions/v1/Model/DealPersonData.php b/lib/versions/v1/Model/DealPersonData.php index b3f2ee2e..cfd4ac59 100644 --- a/lib/versions/v1/Model/DealPersonData.php +++ b/lib/versions/v1/Model/DealPersonData.php @@ -2,7 +2,7 @@ /** * DealPersonData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -218,7 +218,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealPersonDataEmail.php b/lib/versions/v1/Model/DealPersonDataEmail.php index 4162518f..3730d39b 100644 --- a/lib/versions/v1/Model/DealPersonDataEmail.php +++ b/lib/versions/v1/Model/DealPersonDataEmail.php @@ -2,7 +2,7 @@ /** * DealPersonDataEmail * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/DealPersonDataPhone.php b/lib/versions/v1/Model/DealPersonDataPhone.php index 8ae5a0d5..d162ca42 100644 --- a/lib/versions/v1/Model/DealPersonDataPhone.php +++ b/lib/versions/v1/Model/DealPersonDataPhone.php @@ -2,7 +2,7 @@ /** * DealPersonDataPhone * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/DealPersonDataWithId.php b/lib/versions/v1/Model/DealPersonDataWithId.php index 3de32142..f93f9fbf 100644 --- a/lib/versions/v1/Model/DealPersonDataWithId.php +++ b/lib/versions/v1/Model/DealPersonDataWithId.php @@ -2,7 +2,7 @@ /** * DealPersonDataWithId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealPersonDataWithIdAllOf.php b/lib/versions/v1/Model/DealPersonDataWithIdAllOf.php index 3e7a93b4..ee4dc48b 100644 --- a/lib/versions/v1/Model/DealPersonDataWithIdAllOf.php +++ b/lib/versions/v1/Model/DealPersonDataWithIdAllOf.php @@ -2,7 +2,7 @@ /** * DealPersonDataWithIdAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/DealStrict.php b/lib/versions/v1/Model/DealStrict.php index 8786a295..da07bb02 100644 --- a/lib/versions/v1/Model/DealStrict.php +++ b/lib/versions/v1/Model/DealStrict.php @@ -2,7 +2,7 @@ /** * DealStrict * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -532,7 +532,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['creator_user_id'] = $data['creator_user_id'] ?? null; diff --git a/lib/versions/v1/Model/DealStrictModeFields.php b/lib/versions/v1/Model/DealStrictModeFields.php index c58f18c8..96460922 100644 --- a/lib/versions/v1/Model/DealStrictModeFields.php +++ b/lib/versions/v1/Model/DealStrictModeFields.php @@ -2,7 +2,7 @@ /** * DealStrictModeFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['creator_user_id'] = $data['creator_user_id'] ?? null; diff --git a/lib/versions/v1/Model/DealStrictWithMergeId.php b/lib/versions/v1/Model/DealStrictWithMergeId.php index c9ba16f3..d61dad61 100644 --- a/lib/versions/v1/Model/DealStrictWithMergeId.php +++ b/lib/versions/v1/Model/DealStrictWithMergeId.php @@ -2,7 +2,7 @@ /** * DealStrictWithMergeId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -537,7 +537,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['creator_user_id'] = $data['creator_user_id'] ?? null; diff --git a/lib/versions/v1/Model/DealStrictWithMergeIdAllOf.php b/lib/versions/v1/Model/DealStrictWithMergeIdAllOf.php index 2404665e..0f9920b3 100644 --- a/lib/versions/v1/Model/DealStrictWithMergeIdAllOf.php +++ b/lib/versions/v1/Model/DealStrictWithMergeIdAllOf.php @@ -2,7 +2,7 @@ /** * DealStrictWithMergeIdAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['merge_what_id'] = $data['merge_what_id'] ?? null; } diff --git a/lib/versions/v1/Model/DealUserData.php b/lib/versions/v1/Model/DealUserData.php index d784dde9..298e4280 100644 --- a/lib/versions/v1/Model/DealUserData.php +++ b/lib/versions/v1/Model/DealUserData.php @@ -2,7 +2,7 @@ /** * DealUserData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealUserDataWithId.php b/lib/versions/v1/Model/DealUserDataWithId.php index da3d68de..036b155a 100644 --- a/lib/versions/v1/Model/DealUserDataWithId.php +++ b/lib/versions/v1/Model/DealUserDataWithId.php @@ -2,7 +2,7 @@ /** * DealUserDataWithId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/DealUserDataWithIdAllOf.php b/lib/versions/v1/Model/DealUserDataWithIdAllOf.php index 84a306ad..049406a5 100644 --- a/lib/versions/v1/Model/DealUserDataWithIdAllOf.php +++ b/lib/versions/v1/Model/DealUserDataWithIdAllOf.php @@ -2,7 +2,7 @@ /** * DealUserDataWithIdAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/DealsCountAndActivityInfo.php b/lib/versions/v1/Model/DealsCountAndActivityInfo.php index 9fc74579..344db64d 100644 --- a/lib/versions/v1/Model/DealsCountAndActivityInfo.php +++ b/lib/versions/v1/Model/DealsCountAndActivityInfo.php @@ -2,7 +2,7 @@ /** * DealsCountAndActivityInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['open_deals_count'] = $data['open_deals_count'] ?? null; $this->container['related_open_deals_count'] = $data['related_open_deals_count'] ?? null; diff --git a/lib/versions/v1/Model/DealsCountInfo.php b/lib/versions/v1/Model/DealsCountInfo.php index 5a669db5..7ab87884 100644 --- a/lib/versions/v1/Model/DealsCountInfo.php +++ b/lib/versions/v1/Model/DealsCountInfo.php @@ -2,7 +2,7 @@ /** * DealsCountInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['open_deals_count'] = $data['open_deals_count'] ?? null; $this->container['related_open_deals_count'] = $data['related_open_deals_count'] ?? null; diff --git a/lib/versions/v1/Model/DealsMovementsInfo.php b/lib/versions/v1/Model/DealsMovementsInfo.php index bf1da3d9..9ee19dde 100644 --- a/lib/versions/v1/Model/DealsMovementsInfo.php +++ b/lib/versions/v1/Model/DealsMovementsInfo.php @@ -2,7 +2,7 @@ /** * DealsMovementsInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['count'] = $data['count'] ?? null; $this->container['deals_ids'] = $data['deals_ids'] ?? null; diff --git a/lib/versions/v1/Model/DealsMovementsInfoFormattedValues.php b/lib/versions/v1/Model/DealsMovementsInfoFormattedValues.php index f1dd958a..0ee1b129 100644 --- a/lib/versions/v1/Model/DealsMovementsInfoFormattedValues.php +++ b/lib/versions/v1/Model/DealsMovementsInfoFormattedValues.php @@ -2,7 +2,7 @@ /** * DealsMovementsInfoFormattedValues * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['currency_id'] = $data['currency_id'] ?? null; } diff --git a/lib/versions/v1/Model/DealsMovementsInfoValues.php b/lib/versions/v1/Model/DealsMovementsInfoValues.php index 9dda0c74..53829640 100644 --- a/lib/versions/v1/Model/DealsMovementsInfoValues.php +++ b/lib/versions/v1/Model/DealsMovementsInfoValues.php @@ -2,7 +2,7 @@ /** * DealsMovementsInfoValues * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['currency_id'] = $data['currency_id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteChannelSuccess.php b/lib/versions/v1/Model/DeleteChannelSuccess.php index 715eec2e..b004d67c 100644 --- a/lib/versions/v1/Model/DeleteChannelSuccess.php +++ b/lib/versions/v1/Model/DeleteChannelSuccess.php @@ -2,7 +2,7 @@ /** * DeleteChannelSuccess * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteComment.php b/lib/versions/v1/Model/DeleteComment.php index 24e677bc..e42511b7 100644 --- a/lib/versions/v1/Model/DeleteComment.php +++ b/lib/versions/v1/Model/DeleteComment.php @@ -2,7 +2,7 @@ /** * DeleteComment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponse.php b/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponse.php index 326da22c..5f6d03ea 100644 --- a/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponse.php +++ b/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponse.php @@ -2,7 +2,7 @@ /** * DeleteConversationForbiddenErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponseAdditionalData.php b/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponseAdditionalData.php index ad951cc0..a2726ee0 100644 --- a/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponseAdditionalData.php +++ b/lib/versions/v1/Model/DeleteConversationForbiddenErrorResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * DeleteConversationForbiddenErrorResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponse.php b/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponse.php index 116c34ed..18ff69ef 100644 --- a/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponse.php +++ b/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponse.php @@ -2,7 +2,7 @@ /** * DeleteConversationNotFoundErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponseAdditionalData.php b/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponseAdditionalData.php index 084b4a6c..95d9d276 100644 --- a/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponseAdditionalData.php +++ b/lib/versions/v1/Model/DeleteConversationNotFoundErrorResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * DeleteConversationNotFoundErrorResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteConversationSuccess.php b/lib/versions/v1/Model/DeleteConversationSuccess.php index 5bbdab79..91861390 100644 --- a/lib/versions/v1/Model/DeleteConversationSuccess.php +++ b/lib/versions/v1/Model/DeleteConversationSuccess.php @@ -2,7 +2,7 @@ /** * DeleteConversationSuccess * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteDealFollower.php b/lib/versions/v1/Model/DeleteDealFollower.php index 51400390..754a9f9e 100644 --- a/lib/versions/v1/Model/DeleteDealFollower.php +++ b/lib/versions/v1/Model/DeleteDealFollower.php @@ -2,7 +2,7 @@ /** * DeleteDealFollower * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteDealFollowerData.php b/lib/versions/v1/Model/DeleteDealFollowerData.php index a7996bac..33ac0ad8 100644 --- a/lib/versions/v1/Model/DeleteDealFollowerData.php +++ b/lib/versions/v1/Model/DeleteDealFollowerData.php @@ -2,7 +2,7 @@ /** * DeleteDealFollowerData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteDealParticipant.php b/lib/versions/v1/Model/DeleteDealParticipant.php index 0bc767ef..dc7ff375 100644 --- a/lib/versions/v1/Model/DeleteDealParticipant.php +++ b/lib/versions/v1/Model/DeleteDealParticipant.php @@ -2,7 +2,7 @@ /** * DeleteDealParticipant * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteDealParticipantData.php b/lib/versions/v1/Model/DeleteDealParticipantData.php index 0d38e16b..8902bc8c 100644 --- a/lib/versions/v1/Model/DeleteDealParticipantData.php +++ b/lib/versions/v1/Model/DeleteDealParticipantData.php @@ -2,7 +2,7 @@ /** * DeleteDealParticipantData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteFile.php b/lib/versions/v1/Model/DeleteFile.php index 4380cfc2..4476e444 100644 --- a/lib/versions/v1/Model/DeleteFile.php +++ b/lib/versions/v1/Model/DeleteFile.php @@ -2,7 +2,7 @@ /** * DeleteFile * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteFileData.php b/lib/versions/v1/Model/DeleteFileData.php index 75dab052..2184fc9b 100644 --- a/lib/versions/v1/Model/DeleteFileData.php +++ b/lib/versions/v1/Model/DeleteFileData.php @@ -2,7 +2,7 @@ /** * DeleteFileData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteGoalResponse.php b/lib/versions/v1/Model/DeleteGoalResponse.php index ef595dea..d78cdff9 100644 --- a/lib/versions/v1/Model/DeleteGoalResponse.php +++ b/lib/versions/v1/Model/DeleteGoalResponse.php @@ -2,7 +2,7 @@ /** * DeleteGoalResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteLeadIdResponse.php b/lib/versions/v1/Model/DeleteLeadIdResponse.php index c8751776..855b9500 100644 --- a/lib/versions/v1/Model/DeleteLeadIdResponse.php +++ b/lib/versions/v1/Model/DeleteLeadIdResponse.php @@ -2,7 +2,7 @@ /** * DeleteLeadIdResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteMultipleProductFieldsResponse.php b/lib/versions/v1/Model/DeleteMultipleProductFieldsResponse.php index e6119839..e8759bbf 100644 --- a/lib/versions/v1/Model/DeleteMultipleProductFieldsResponse.php +++ b/lib/versions/v1/Model/DeleteMultipleProductFieldsResponse.php @@ -2,7 +2,7 @@ /** * DeleteMultipleProductFieldsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteMultipleProductFieldsResponseData.php b/lib/versions/v1/Model/DeleteMultipleProductFieldsResponseData.php index 94283dfb..a9cbf3e0 100644 --- a/lib/versions/v1/Model/DeleteMultipleProductFieldsResponseData.php +++ b/lib/versions/v1/Model/DeleteMultipleProductFieldsResponseData.php @@ -2,7 +2,7 @@ /** * DeleteMultipleProductFieldsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteNote.php b/lib/versions/v1/Model/DeleteNote.php index 90200558..064bf9a2 100644 --- a/lib/versions/v1/Model/DeleteNote.php +++ b/lib/versions/v1/Model/DeleteNote.php @@ -2,7 +2,7 @@ /** * DeleteNote * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeletePersonResponse.php b/lib/versions/v1/Model/DeletePersonResponse.php index 6f9d2a95..e1637e60 100644 --- a/lib/versions/v1/Model/DeletePersonResponse.php +++ b/lib/versions/v1/Model/DeletePersonResponse.php @@ -2,7 +2,7 @@ /** * DeletePersonResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeletePersonResponseAllOf.php b/lib/versions/v1/Model/DeletePersonResponseAllOf.php index 5158e2ca..c29cbc88 100644 --- a/lib/versions/v1/Model/DeletePersonResponseAllOf.php +++ b/lib/versions/v1/Model/DeletePersonResponseAllOf.php @@ -2,7 +2,7 @@ /** * DeletePersonResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/DeletePersonResponseAllOfData.php b/lib/versions/v1/Model/DeletePersonResponseAllOfData.php index 6574f0fe..287b20a8 100644 --- a/lib/versions/v1/Model/DeletePersonResponseAllOfData.php +++ b/lib/versions/v1/Model/DeletePersonResponseAllOfData.php @@ -2,7 +2,7 @@ /** * DeletePersonResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteProductFieldResponse.php b/lib/versions/v1/Model/DeleteProductFieldResponse.php index f71cc78f..97550fce 100644 --- a/lib/versions/v1/Model/DeleteProductFieldResponse.php +++ b/lib/versions/v1/Model/DeleteProductFieldResponse.php @@ -2,7 +2,7 @@ /** * DeleteProductFieldResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteProductFieldResponseData.php b/lib/versions/v1/Model/DeleteProductFieldResponseData.php index f50e20d7..93773ee3 100644 --- a/lib/versions/v1/Model/DeleteProductFieldResponseData.php +++ b/lib/versions/v1/Model/DeleteProductFieldResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProductFieldResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteProductFollowerResponse.php b/lib/versions/v1/Model/DeleteProductFollowerResponse.php index 380e4796..e3ba9ae0 100644 --- a/lib/versions/v1/Model/DeleteProductFollowerResponse.php +++ b/lib/versions/v1/Model/DeleteProductFollowerResponse.php @@ -2,7 +2,7 @@ /** * DeleteProductFollowerResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteProductFollowerResponseData.php b/lib/versions/v1/Model/DeleteProductFollowerResponseData.php index 707223f1..f63c3b8f 100644 --- a/lib/versions/v1/Model/DeleteProductFollowerResponseData.php +++ b/lib/versions/v1/Model/DeleteProductFollowerResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProductFollowerResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteProject.php b/lib/versions/v1/Model/DeleteProject.php index 7b515029..0a3f6afb 100644 --- a/lib/versions/v1/Model/DeleteProject.php +++ b/lib/versions/v1/Model/DeleteProject.php @@ -2,7 +2,7 @@ /** * DeleteProject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteProjectData.php b/lib/versions/v1/Model/DeleteProjectData.php index c37df126..a87c1aaa 100644 --- a/lib/versions/v1/Model/DeleteProjectData.php +++ b/lib/versions/v1/Model/DeleteProjectData.php @@ -2,7 +2,7 @@ /** * DeleteProjectData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteProjectResponse.php b/lib/versions/v1/Model/DeleteProjectResponse.php index 9098da83..0a8c015f 100644 --- a/lib/versions/v1/Model/DeleteProjectResponse.php +++ b/lib/versions/v1/Model/DeleteProjectResponse.php @@ -2,7 +2,7 @@ /** * DeleteProjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteResponse.php b/lib/versions/v1/Model/DeleteResponse.php index a4cc7d80..e2452be7 100644 --- a/lib/versions/v1/Model/DeleteResponse.php +++ b/lib/versions/v1/Model/DeleteResponse.php @@ -2,7 +2,7 @@ /** * DeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteResponseAllOf.php b/lib/versions/v1/Model/DeleteResponseAllOf.php index 56c434f8..baeb67f1 100644 --- a/lib/versions/v1/Model/DeleteResponseAllOf.php +++ b/lib/versions/v1/Model/DeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * DeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteResponseAllOfData.php b/lib/versions/v1/Model/DeleteResponseAllOfData.php index 3bbf9081..cd898a31 100644 --- a/lib/versions/v1/Model/DeleteResponseAllOfData.php +++ b/lib/versions/v1/Model/DeleteResponseAllOfData.php @@ -2,7 +2,7 @@ /** * DeleteResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteRole.php b/lib/versions/v1/Model/DeleteRole.php index 3bc88a8d..3939adf9 100644 --- a/lib/versions/v1/Model/DeleteRole.php +++ b/lib/versions/v1/Model/DeleteRole.php @@ -2,7 +2,7 @@ /** * DeleteRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteRoleAssignment.php b/lib/versions/v1/Model/DeleteRoleAssignment.php index b156d154..52503970 100644 --- a/lib/versions/v1/Model/DeleteRoleAssignment.php +++ b/lib/versions/v1/Model/DeleteRoleAssignment.php @@ -2,7 +2,7 @@ /** * DeleteRoleAssignment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteRoleAssignmentRequest.php b/lib/versions/v1/Model/DeleteRoleAssignmentRequest.php index af763382..4c46c41f 100644 --- a/lib/versions/v1/Model/DeleteRoleAssignmentRequest.php +++ b/lib/versions/v1/Model/DeleteRoleAssignmentRequest.php @@ -2,7 +2,7 @@ /** * DeleteRoleAssignmentRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteRoleAssignmentResponseData.php b/lib/versions/v1/Model/DeleteRoleAssignmentResponseData.php index 87f12105..69e84b0f 100644 --- a/lib/versions/v1/Model/DeleteRoleAssignmentResponseData.php +++ b/lib/versions/v1/Model/DeleteRoleAssignmentResponseData.php @@ -2,7 +2,7 @@ /** * DeleteRoleAssignmentResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteRoleAssignmentResponseDataData.php b/lib/versions/v1/Model/DeleteRoleAssignmentResponseDataData.php index f87b88bd..d1aef5da 100644 --- a/lib/versions/v1/Model/DeleteRoleAssignmentResponseDataData.php +++ b/lib/versions/v1/Model/DeleteRoleAssignmentResponseDataData.php @@ -2,7 +2,7 @@ /** * DeleteRoleAssignmentResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteRoleResponseData.php b/lib/versions/v1/Model/DeleteRoleResponseData.php index e6aa5404..212694c3 100644 --- a/lib/versions/v1/Model/DeleteRoleResponseData.php +++ b/lib/versions/v1/Model/DeleteRoleResponseData.php @@ -2,7 +2,7 @@ /** * DeleteRoleResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteRoleResponseDataData.php b/lib/versions/v1/Model/DeleteRoleResponseDataData.php index be643420..20f1b7d2 100644 --- a/lib/versions/v1/Model/DeleteRoleResponseDataData.php +++ b/lib/versions/v1/Model/DeleteRoleResponseDataData.php @@ -2,7 +2,7 @@ /** * DeleteRoleResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteTask.php b/lib/versions/v1/Model/DeleteTask.php index 32e2f1ea..564e666f 100644 --- a/lib/versions/v1/Model/DeleteTask.php +++ b/lib/versions/v1/Model/DeleteTask.php @@ -2,7 +2,7 @@ /** * DeleteTask * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteTaskData.php b/lib/versions/v1/Model/DeleteTaskData.php index 2e1bc893..57fc8c24 100644 --- a/lib/versions/v1/Model/DeleteTaskData.php +++ b/lib/versions/v1/Model/DeleteTaskData.php @@ -2,7 +2,7 @@ /** * DeleteTaskData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/DeleteTaskResponse.php b/lib/versions/v1/Model/DeleteTaskResponse.php index 9866d719..72f28d3e 100644 --- a/lib/versions/v1/Model/DeleteTaskResponse.php +++ b/lib/versions/v1/Model/DeleteTaskResponse.php @@ -2,7 +2,7 @@ /** * DeleteTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/DeleteTeamUserRequest.php b/lib/versions/v1/Model/DeleteTeamUserRequest.php index c0d8ac43..505f2ff8 100644 --- a/lib/versions/v1/Model/DeleteTeamUserRequest.php +++ b/lib/versions/v1/Model/DeleteTeamUserRequest.php @@ -2,7 +2,7 @@ /** * DeleteTeamUserRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['users'] = $data['users'] ?? null; } diff --git a/lib/versions/v1/Model/Duration.php b/lib/versions/v1/Model/Duration.php index 55e776df..7c850c92 100644 --- a/lib/versions/v1/Model/Duration.php +++ b/lib/versions/v1/Model/Duration.php @@ -2,7 +2,7 @@ /** * Duration * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start'] = $data['start'] ?? null; $this->container['end'] = $data['end'] ?? null; diff --git a/lib/versions/v1/Model/EmailInfo.php b/lib/versions/v1/Model/EmailInfo.php index 4be3d122..0a098d70 100644 --- a/lib/versions/v1/Model/EmailInfo.php +++ b/lib/versions/v1/Model/EmailInfo.php @@ -2,7 +2,7 @@ /** * EmailInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['last_incoming_mail_time'] = $data['last_incoming_mail_time'] ?? null; $this->container['last_outgoing_mail_time'] = $data['last_outgoing_mail_time'] ?? null; diff --git a/lib/versions/v1/Model/ExpectedOutcome.php b/lib/versions/v1/Model/ExpectedOutcome.php index 0deebc7e..d11ed921 100644 --- a/lib/versions/v1/Model/ExpectedOutcome.php +++ b/lib/versions/v1/Model/ExpectedOutcome.php @@ -2,7 +2,7 @@ /** * ExpectedOutcome * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['target'] = $data['target'] ?? null; $this->container['tracking_metric'] = $data['tracking_metric'] ?? null; diff --git a/lib/versions/v1/Model/FailResponse.php b/lib/versions/v1/Model/FailResponse.php index 84309fc5..3fc37944 100644 --- a/lib/versions/v1/Model/FailResponse.php +++ b/lib/versions/v1/Model/FailResponse.php @@ -2,7 +2,7 @@ /** * FailResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/Field.php b/lib/versions/v1/Model/Field.php index d37ac521..c07dad56 100644 --- a/lib/versions/v1/Model/Field.php +++ b/lib/versions/v1/Model/Field.php @@ -2,7 +2,7 @@ /** * Field * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -312,7 +312,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['key'] = $data['key'] ?? null; diff --git a/lib/versions/v1/Model/FieldCreateRequest.php b/lib/versions/v1/Model/FieldCreateRequest.php index 4c11d18e..1bf1cb76 100644 --- a/lib/versions/v1/Model/FieldCreateRequest.php +++ b/lib/versions/v1/Model/FieldCreateRequest.php @@ -2,7 +2,7 @@ /** * FieldCreateRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/FieldCreateRequestAllOf.php b/lib/versions/v1/Model/FieldCreateRequestAllOf.php index acc972b2..28804b1c 100644 --- a/lib/versions/v1/Model/FieldCreateRequestAllOf.php +++ b/lib/versions/v1/Model/FieldCreateRequestAllOf.php @@ -2,7 +2,7 @@ /** * FieldCreateRequestAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/FieldResponse.php b/lib/versions/v1/Model/FieldResponse.php index 2af1c28c..0aeef26f 100644 --- a/lib/versions/v1/Model/FieldResponse.php +++ b/lib/versions/v1/Model/FieldResponse.php @@ -2,7 +2,7 @@ /** * FieldResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FieldResponseAllOf.php b/lib/versions/v1/Model/FieldResponseAllOf.php index 3daba192..fcddd189 100644 --- a/lib/versions/v1/Model/FieldResponseAllOf.php +++ b/lib/versions/v1/Model/FieldResponseAllOf.php @@ -2,7 +2,7 @@ /** * FieldResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FieldType.php b/lib/versions/v1/Model/FieldType.php index 4a0f4828..62578015 100644 --- a/lib/versions/v1/Model/FieldType.php +++ b/lib/versions/v1/Model/FieldType.php @@ -2,7 +2,7 @@ /** * FieldType * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? null; } diff --git a/lib/versions/v1/Model/FieldTypeAsString.php b/lib/versions/v1/Model/FieldTypeAsString.php index eacc66a0..330d3dac 100644 --- a/lib/versions/v1/Model/FieldTypeAsString.php +++ b/lib/versions/v1/Model/FieldTypeAsString.php @@ -2,7 +2,7 @@ /** * FieldTypeAsString * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/FieldUpdateRequest.php b/lib/versions/v1/Model/FieldUpdateRequest.php index 0f972620..ed85f052 100644 --- a/lib/versions/v1/Model/FieldUpdateRequest.php +++ b/lib/versions/v1/Model/FieldUpdateRequest.php @@ -2,7 +2,7 @@ /** * FieldUpdateRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/FieldsResponse.php b/lib/versions/v1/Model/FieldsResponse.php index e1b9fecf..0d2a5128 100644 --- a/lib/versions/v1/Model/FieldsResponse.php +++ b/lib/versions/v1/Model/FieldsResponse.php @@ -2,7 +2,7 @@ /** * FieldsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FieldsResponseAllOf.php b/lib/versions/v1/Model/FieldsResponseAllOf.php index 1e2c7528..906d1cc4 100644 --- a/lib/versions/v1/Model/FieldsResponseAllOf.php +++ b/lib/versions/v1/Model/FieldsResponseAllOf.php @@ -2,7 +2,7 @@ /** * FieldsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/FileData.php b/lib/versions/v1/Model/FileData.php index 207eb76f..ecf26f61 100644 --- a/lib/versions/v1/Model/FileData.php +++ b/lib/versions/v1/Model/FileData.php @@ -2,7 +2,7 @@ /** * FileData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -333,7 +333,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['user_id'] = $data['user_id'] ?? null; diff --git a/lib/versions/v1/Model/FileItem.php b/lib/versions/v1/Model/FileItem.php index 56607050..f84805dc 100644 --- a/lib/versions/v1/Model/FileItem.php +++ b/lib/versions/v1/Model/FileItem.php @@ -2,7 +2,7 @@ /** * FileItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -333,7 +333,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['user_id'] = $data['user_id'] ?? null; diff --git a/lib/versions/v1/Model/Filter.php b/lib/versions/v1/Model/Filter.php index c882ee52..d457f1d7 100644 --- a/lib/versions/v1/Model/Filter.php +++ b/lib/versions/v1/Model/Filter.php @@ -2,7 +2,7 @@ /** * Filter * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/FilterConditionItem.php b/lib/versions/v1/Model/FilterConditionItem.php index 3ed45dcb..d5c0f0f7 100644 --- a/lib/versions/v1/Model/FilterConditionItem.php +++ b/lib/versions/v1/Model/FilterConditionItem.php @@ -2,7 +2,7 @@ /** * FilterConditionItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['field_id'] = $data['field_id'] ?? null; diff --git a/lib/versions/v1/Model/FilterConditions.php b/lib/versions/v1/Model/FilterConditions.php index 0a90636b..77efb1f0 100644 --- a/lib/versions/v1/Model/FilterConditions.php +++ b/lib/versions/v1/Model/FilterConditions.php @@ -2,7 +2,7 @@ /** * FilterConditions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -218,7 +218,7 @@ public function getGlueAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['glue'] = $data['glue'] ?? null; $this->container['conditions'] = $data['conditions'] ?? null; diff --git a/lib/versions/v1/Model/FilterConditionsGroup.php b/lib/versions/v1/Model/FilterConditionsGroup.php index 643a4d49..c2b0d147 100644 --- a/lib/versions/v1/Model/FilterConditionsGroup.php +++ b/lib/versions/v1/Model/FilterConditionsGroup.php @@ -2,7 +2,7 @@ /** * FilterConditionsGroup * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -220,7 +220,7 @@ public function getGlueAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['glue'] = $data['glue'] ?? null; $this->container['conditions'] = $data['conditions'] ?? null; diff --git a/lib/versions/v1/Model/FilterGetItem.php b/lib/versions/v1/Model/FilterGetItem.php index dfa0eb44..0a5c1abc 100644 --- a/lib/versions/v1/Model/FilterGetItem.php +++ b/lib/versions/v1/Model/FilterGetItem.php @@ -2,7 +2,7 @@ /** * FilterGetItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -258,7 +258,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/FilterGetItemWithConditions.php b/lib/versions/v1/Model/FilterGetItemWithConditions.php index e37684f3..5310b544 100644 --- a/lib/versions/v1/Model/FilterGetItemWithConditions.php +++ b/lib/versions/v1/Model/FilterGetItemWithConditions.php @@ -2,7 +2,7 @@ /** * FilterGetItemWithConditions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -263,7 +263,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/FilterType.php b/lib/versions/v1/Model/FilterType.php index 3b18cc05..0a2402f4 100644 --- a/lib/versions/v1/Model/FilterType.php +++ b/lib/versions/v1/Model/FilterType.php @@ -2,7 +2,7 @@ /** * FilterType * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/FiltersBulkDeleteResponse.php b/lib/versions/v1/Model/FiltersBulkDeleteResponse.php index e4078acb..f2f7b612 100644 --- a/lib/versions/v1/Model/FiltersBulkDeleteResponse.php +++ b/lib/versions/v1/Model/FiltersBulkDeleteResponse.php @@ -2,7 +2,7 @@ /** * FiltersBulkDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOf.php b/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOf.php index 6e3e3649..d0c1e336 100644 --- a/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOf.php +++ b/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * FiltersBulkDeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOfData.php b/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOfData.php index 18d750ba..c2759d76 100644 --- a/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOfData.php +++ b/lib/versions/v1/Model/FiltersBulkDeleteResponseAllOfData.php @@ -2,7 +2,7 @@ /** * FiltersBulkDeleteResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersBulkGetResponse.php b/lib/versions/v1/Model/FiltersBulkGetResponse.php index b3225930..f129a8a0 100644 --- a/lib/versions/v1/Model/FiltersBulkGetResponse.php +++ b/lib/versions/v1/Model/FiltersBulkGetResponse.php @@ -2,7 +2,7 @@ /** * FiltersBulkGetResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FiltersBulkGetResponseAllOf.php b/lib/versions/v1/Model/FiltersBulkGetResponseAllOf.php index 62794e01..0799cb23 100644 --- a/lib/versions/v1/Model/FiltersBulkGetResponseAllOf.php +++ b/lib/versions/v1/Model/FiltersBulkGetResponseAllOf.php @@ -2,7 +2,7 @@ /** * FiltersBulkGetResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersDeleteResponse.php b/lib/versions/v1/Model/FiltersDeleteResponse.php index 03c739d0..8970e57b 100644 --- a/lib/versions/v1/Model/FiltersDeleteResponse.php +++ b/lib/versions/v1/Model/FiltersDeleteResponse.php @@ -2,7 +2,7 @@ /** * FiltersDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FiltersDeleteResponseAllOf.php b/lib/versions/v1/Model/FiltersDeleteResponseAllOf.php index b7391e05..c1bc8c14 100644 --- a/lib/versions/v1/Model/FiltersDeleteResponseAllOf.php +++ b/lib/versions/v1/Model/FiltersDeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * FiltersDeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersDeleteResponseAllOfData.php b/lib/versions/v1/Model/FiltersDeleteResponseAllOfData.php index 4fef5c5d..b80cb10a 100644 --- a/lib/versions/v1/Model/FiltersDeleteResponseAllOfData.php +++ b/lib/versions/v1/Model/FiltersDeleteResponseAllOfData.php @@ -2,7 +2,7 @@ /** * FiltersDeleteResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersGetResponse.php b/lib/versions/v1/Model/FiltersGetResponse.php index 7aae59c6..edcab1ab 100644 --- a/lib/versions/v1/Model/FiltersGetResponse.php +++ b/lib/versions/v1/Model/FiltersGetResponse.php @@ -2,7 +2,7 @@ /** * FiltersGetResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FiltersGetResponseAllOf.php b/lib/versions/v1/Model/FiltersGetResponseAllOf.php index f1624724..7f36443a 100644 --- a/lib/versions/v1/Model/FiltersGetResponseAllOf.php +++ b/lib/versions/v1/Model/FiltersGetResponseAllOf.php @@ -2,7 +2,7 @@ /** * FiltersGetResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FiltersPostResponse.php b/lib/versions/v1/Model/FiltersPostResponse.php index aee03fe8..5b39a2ef 100644 --- a/lib/versions/v1/Model/FiltersPostResponse.php +++ b/lib/versions/v1/Model/FiltersPostResponse.php @@ -2,7 +2,7 @@ /** * FiltersPostResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/FiltersPostResponseAllOf.php b/lib/versions/v1/Model/FiltersPostResponseAllOf.php index 6e25200e..9307b133 100644 --- a/lib/versions/v1/Model/FiltersPostResponseAllOf.php +++ b/lib/versions/v1/Model/FiltersPostResponseAllOf.php @@ -2,7 +2,7 @@ /** * FiltersPostResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/FindGoalResponse.php b/lib/versions/v1/Model/FindGoalResponse.php index 20b38a93..cc29f376 100644 --- a/lib/versions/v1/Model/FindGoalResponse.php +++ b/lib/versions/v1/Model/FindGoalResponse.php @@ -2,7 +2,7 @@ /** * FindGoalResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['goals'] = $data['goals'] ?? null; } diff --git a/lib/versions/v1/Model/FullProjectObject.php b/lib/versions/v1/Model/FullProjectObject.php index ca5c8a8e..dbd1bf3f 100644 --- a/lib/versions/v1/Model/FullProjectObject.php +++ b/lib/versions/v1/Model/FullProjectObject.php @@ -2,7 +2,7 @@ /** * FullProjectObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -272,7 +272,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['board_id'] = $data['board_id'] ?? null; diff --git a/lib/versions/v1/Model/FullRole.php b/lib/versions/v1/Model/FullRole.php index 15d5fea4..6e87e140 100644 --- a/lib/versions/v1/Model/FullRole.php +++ b/lib/versions/v1/Model/FullRole.php @@ -2,7 +2,7 @@ /** * FullRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['parent_role_id'] = $data['parent_role_id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/FullRoleAllOf.php b/lib/versions/v1/Model/FullRoleAllOf.php index f55685ae..714ebc01 100644 --- a/lib/versions/v1/Model/FullRoleAllOf.php +++ b/lib/versions/v1/Model/FullRoleAllOf.php @@ -2,7 +2,7 @@ /** * FullRoleAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['level'] = $data['level'] ?? null; } diff --git a/lib/versions/v1/Model/FullTaskObject.php b/lib/versions/v1/Model/FullTaskObject.php index 30decb82..97868352 100644 --- a/lib/versions/v1/Model/FullTaskObject.php +++ b/lib/versions/v1/Model/FullTaskObject.php @@ -2,7 +2,7 @@ /** * FullTaskObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v1/Model/GetActivitiesCollectionResponse.php b/lib/versions/v1/Model/GetActivitiesCollectionResponse.php index c2215eff..a9c593d1 100644 --- a/lib/versions/v1/Model/GetActivitiesCollectionResponse.php +++ b/lib/versions/v1/Model/GetActivitiesCollectionResponse.php @@ -2,7 +2,7 @@ /** * GetActivitiesCollectionResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetAllFiles.php b/lib/versions/v1/Model/GetAllFiles.php index 10c6e0f5..6e98cda8 100644 --- a/lib/versions/v1/Model/GetAllFiles.php +++ b/lib/versions/v1/Model/GetAllFiles.php @@ -2,7 +2,7 @@ /** * GetAllFiles * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetAllProductFieldsResponse.php b/lib/versions/v1/Model/GetAllProductFieldsResponse.php index 31ec84a0..1e197cc1 100644 --- a/lib/versions/v1/Model/GetAllProductFieldsResponse.php +++ b/lib/versions/v1/Model/GetAllProductFieldsResponse.php @@ -2,7 +2,7 @@ /** * GetAllProductFieldsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetComments.php b/lib/versions/v1/Model/GetComments.php index 00b36ee8..11938c81 100644 --- a/lib/versions/v1/Model/GetComments.php +++ b/lib/versions/v1/Model/GetComments.php @@ -2,7 +2,7 @@ /** * GetComments * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDeals.php b/lib/versions/v1/Model/GetDeals.php index 5a3b0953..25dbd9c0 100644 --- a/lib/versions/v1/Model/GetDeals.php +++ b/lib/versions/v1/Model/GetDeals.php @@ -2,7 +2,7 @@ /** * GetDeals * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsConversionRatesInPipeline.php b/lib/versions/v1/Model/GetDealsConversionRatesInPipeline.php index eb42aca0..64f04b15 100644 --- a/lib/versions/v1/Model/GetDealsConversionRatesInPipeline.php +++ b/lib/versions/v1/Model/GetDealsConversionRatesInPipeline.php @@ -2,7 +2,7 @@ /** * GetDealsConversionRatesInPipeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOf.php b/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOf.php index c769e0eb..c3c1eae2 100644 --- a/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOf.php +++ b/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOf.php @@ -2,7 +2,7 @@ /** * GetDealsConversionRatesInPipelineAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOfData.php b/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOfData.php index b74b41f6..864803d2 100644 --- a/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOfData.php +++ b/lib/versions/v1/Model/GetDealsConversionRatesInPipelineAllOfData.php @@ -2,7 +2,7 @@ /** * GetDealsConversionRatesInPipelineAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -208,7 +208,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stage_conversions'] = $data['stage_conversions'] ?? null; $this->container['won_conversion'] = $data['won_conversion'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipeline.php b/lib/versions/v1/Model/GetDealsMovementsInPipeline.php index b881c0a1..4ec571f8 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipeline.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipeline.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOf.php b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOf.php index 1f2d520c..c3238834 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOf.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOf.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipelineAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfData.php b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfData.php index e51373ce..3fe36dd6 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfData.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfData.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipelineAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['movements_between_stages'] = $data['movements_between_stages'] ?? null; $this->container['new_deals'] = $data['new_deals'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.php b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.php index 737e30ec..18941518 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipelineAllOfDataAverageAgeInDays * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['across_all_stages'] = $data['across_all_stages'] ?? null; $this->container['by_stages'] = $data['by_stages'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.php b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.php index e2471949..13b2bf2b 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stage_id'] = $data['stage_id'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.php b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.php index a4c89100..c2828e74 100644 --- a/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.php +++ b/lib/versions/v1/Model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.php @@ -2,7 +2,7 @@ /** * GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['count'] = $data['count'] ?? null; } diff --git a/lib/versions/v1/Model/GetDealsRelatedObjects.php b/lib/versions/v1/Model/GetDealsRelatedObjects.php index 5c17c0fe..1f4ad9d8 100644 --- a/lib/versions/v1/Model/GetDealsRelatedObjects.php +++ b/lib/versions/v1/Model/GetDealsRelatedObjects.php @@ -2,7 +2,7 @@ /** * GetDealsRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user'] = $data['user'] ?? null; $this->container['organization'] = $data['organization'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsSummary.php b/lib/versions/v1/Model/GetDealsSummary.php index e2fd65b4..d1c87b2e 100644 --- a/lib/versions/v1/Model/GetDealsSummary.php +++ b/lib/versions/v1/Model/GetDealsSummary.php @@ -2,7 +2,7 @@ /** * GetDealsSummary * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsSummaryData.php b/lib/versions/v1/Model/GetDealsSummaryData.php index 7ed33e69..3d117b8e 100644 --- a/lib/versions/v1/Model/GetDealsSummaryData.php +++ b/lib/versions/v1/Model/GetDealsSummaryData.php @@ -2,7 +2,7 @@ /** * GetDealsSummaryData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['values_total'] = $data['values_total'] ?? null; $this->container['weighted_values_total'] = $data['weighted_values_total'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsSummaryDataValuesTotal.php b/lib/versions/v1/Model/GetDealsSummaryDataValuesTotal.php index 45abb406..69034ef8 100644 --- a/lib/versions/v1/Model/GetDealsSummaryDataValuesTotal.php +++ b/lib/versions/v1/Model/GetDealsSummaryDataValuesTotal.php @@ -2,7 +2,7 @@ /** * GetDealsSummaryDataValuesTotal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -218,7 +218,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['count'] = $data['count'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsSummaryDataWeightedValuesTotal.php b/lib/versions/v1/Model/GetDealsSummaryDataWeightedValuesTotal.php index 88512f21..37efdfb8 100644 --- a/lib/versions/v1/Model/GetDealsSummaryDataWeightedValuesTotal.php +++ b/lib/versions/v1/Model/GetDealsSummaryDataWeightedValuesTotal.php @@ -2,7 +2,7 @@ /** * GetDealsSummaryDataWeightedValuesTotal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -208,7 +208,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['count'] = $data['count'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsTimeline.php b/lib/versions/v1/Model/GetDealsTimeline.php index d2c57604..e970903b 100644 --- a/lib/versions/v1/Model/GetDealsTimeline.php +++ b/lib/versions/v1/Model/GetDealsTimeline.php @@ -2,7 +2,7 @@ /** * GetDealsTimeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsTimelineData.php b/lib/versions/v1/Model/GetDealsTimelineData.php index 93125851..2f667312 100644 --- a/lib/versions/v1/Model/GetDealsTimelineData.php +++ b/lib/versions/v1/Model/GetDealsTimelineData.php @@ -2,7 +2,7 @@ /** * GetDealsTimelineData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['period_start'] = $data['period_start'] ?? null; $this->container['period_end'] = $data['period_end'] ?? null; diff --git a/lib/versions/v1/Model/GetDealsTimelineDataTotals.php b/lib/versions/v1/Model/GetDealsTimelineDataTotals.php index 397ea7bb..57389610 100644 --- a/lib/versions/v1/Model/GetDealsTimelineDataTotals.php +++ b/lib/versions/v1/Model/GetDealsTimelineDataTotals.php @@ -2,7 +2,7 @@ /** * GetDealsTimelineDataTotals * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -233,7 +233,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['count'] = $data['count'] ?? null; $this->container['values'] = $data['values'] ?? null; diff --git a/lib/versions/v1/Model/GetDuplicatedDeal.php b/lib/versions/v1/Model/GetDuplicatedDeal.php index eca864a2..5c3be8f0 100644 --- a/lib/versions/v1/Model/GetDuplicatedDeal.php +++ b/lib/versions/v1/Model/GetDuplicatedDeal.php @@ -2,7 +2,7 @@ /** * GetDuplicatedDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetField.php b/lib/versions/v1/Model/GetField.php index e464bec6..4c39ca3f 100644 --- a/lib/versions/v1/Model/GetField.php +++ b/lib/versions/v1/Model/GetField.php @@ -2,7 +2,7 @@ /** * GetField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -312,7 +312,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['key'] = $data['key'] ?? null; diff --git a/lib/versions/v1/Model/GetFieldAllOf.php b/lib/versions/v1/Model/GetFieldAllOf.php index 3c7051e6..b73f5606 100644 --- a/lib/versions/v1/Model/GetFieldAllOf.php +++ b/lib/versions/v1/Model/GetFieldAllOf.php @@ -2,7 +2,7 @@ /** * GetFieldAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? null; } diff --git a/lib/versions/v1/Model/GetGoalResultResponse.php b/lib/versions/v1/Model/GetGoalResultResponse.php index 22c1daf1..5ef99543 100644 --- a/lib/versions/v1/Model/GetGoalResultResponse.php +++ b/lib/versions/v1/Model/GetGoalResultResponse.php @@ -2,7 +2,7 @@ /** * GetGoalResultResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetGoalsResponse.php b/lib/versions/v1/Model/GetGoalsResponse.php index f63b3c17..3daf556f 100644 --- a/lib/versions/v1/Model/GetGoalsResponse.php +++ b/lib/versions/v1/Model/GetGoalsResponse.php @@ -2,7 +2,7 @@ /** * GetGoalsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetLeadIdResponse.php b/lib/versions/v1/Model/GetLeadIdResponse.php index ceb2b748..5a496579 100644 --- a/lib/versions/v1/Model/GetLeadIdResponse.php +++ b/lib/versions/v1/Model/GetLeadIdResponse.php @@ -2,7 +2,7 @@ /** * GetLeadIdResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetLeadIdResponseData.php b/lib/versions/v1/Model/GetLeadIdResponseData.php index facec300..6e1eab31 100644 --- a/lib/versions/v1/Model/GetLeadIdResponseData.php +++ b/lib/versions/v1/Model/GetLeadIdResponseData.php @@ -2,7 +2,7 @@ /** * GetLeadIdResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/GetLeadLabelsResponse.php b/lib/versions/v1/Model/GetLeadLabelsResponse.php index 88395e83..012287a7 100644 --- a/lib/versions/v1/Model/GetLeadLabelsResponse.php +++ b/lib/versions/v1/Model/GetLeadLabelsResponse.php @@ -2,7 +2,7 @@ /** * GetLeadLabelsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetLeadResponse.php b/lib/versions/v1/Model/GetLeadResponse.php index ca03a5e6..1dc2fc3f 100644 --- a/lib/versions/v1/Model/GetLeadResponse.php +++ b/lib/versions/v1/Model/GetLeadResponse.php @@ -2,7 +2,7 @@ /** * GetLeadResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetLeadsResponse.php b/lib/versions/v1/Model/GetLeadsResponse.php index 1d9fbe18..144443cf 100644 --- a/lib/versions/v1/Model/GetLeadsResponse.php +++ b/lib/versions/v1/Model/GetLeadsResponse.php @@ -2,7 +2,7 @@ /** * GetLeadsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetLeadsSourceResponse.php b/lib/versions/v1/Model/GetLeadsSourceResponse.php index 5ca0e5f0..393afbc5 100644 --- a/lib/versions/v1/Model/GetLeadsSourceResponse.php +++ b/lib/versions/v1/Model/GetLeadsSourceResponse.php @@ -2,7 +2,7 @@ /** * GetLeadsSourceResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetMergedDeal.php b/lib/versions/v1/Model/GetMergedDeal.php index fc9d7afa..90630268 100644 --- a/lib/versions/v1/Model/GetMergedDeal.php +++ b/lib/versions/v1/Model/GetMergedDeal.php @@ -2,7 +2,7 @@ /** * GetMergedDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetNoteField.php b/lib/versions/v1/Model/GetNoteField.php index 30df914a..42cb045a 100644 --- a/lib/versions/v1/Model/GetNoteField.php +++ b/lib/versions/v1/Model/GetNoteField.php @@ -2,7 +2,7 @@ /** * GetNoteField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['key'] = $data['key'] ?? null; diff --git a/lib/versions/v1/Model/GetNotes.php b/lib/versions/v1/Model/GetNotes.php index b1f371ad..f5e7df38 100644 --- a/lib/versions/v1/Model/GetNotes.php +++ b/lib/versions/v1/Model/GetNotes.php @@ -2,7 +2,7 @@ /** * GetNotes * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetOneFile.php b/lib/versions/v1/Model/GetOneFile.php index a4ed323e..76ab7dd3 100644 --- a/lib/versions/v1/Model/GetOneFile.php +++ b/lib/versions/v1/Model/GetOneFile.php @@ -2,7 +2,7 @@ /** * GetOneFile * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProductField.php b/lib/versions/v1/Model/GetProductField.php index 2a5c4a54..0197badb 100644 --- a/lib/versions/v1/Model/GetProductField.php +++ b/lib/versions/v1/Model/GetProductField.php @@ -2,7 +2,7 @@ /** * GetProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -287,7 +287,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/GetProductFieldResponse.php b/lib/versions/v1/Model/GetProductFieldResponse.php index e3e0c7f1..9b0502dc 100644 --- a/lib/versions/v1/Model/GetProductFieldResponse.php +++ b/lib/versions/v1/Model/GetProductFieldResponse.php @@ -2,7 +2,7 @@ /** * GetProductFieldResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectBoardResponse.php b/lib/versions/v1/Model/GetProjectBoardResponse.php index c7b10410..8f1601ec 100644 --- a/lib/versions/v1/Model/GetProjectBoardResponse.php +++ b/lib/versions/v1/Model/GetProjectBoardResponse.php @@ -2,7 +2,7 @@ /** * GetProjectBoardResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectBoardsResponse.php b/lib/versions/v1/Model/GetProjectBoardsResponse.php index 0ab6b2a3..7ba79157 100644 --- a/lib/versions/v1/Model/GetProjectBoardsResponse.php +++ b/lib/versions/v1/Model/GetProjectBoardsResponse.php @@ -2,7 +2,7 @@ /** * GetProjectBoardsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectGroupsResponse.php b/lib/versions/v1/Model/GetProjectGroupsResponse.php index 324d4c88..f89fa209 100644 --- a/lib/versions/v1/Model/GetProjectGroupsResponse.php +++ b/lib/versions/v1/Model/GetProjectGroupsResponse.php @@ -2,7 +2,7 @@ /** * GetProjectGroupsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectPhaseResponse.php b/lib/versions/v1/Model/GetProjectPhaseResponse.php index 65ff3b31..ed808460 100644 --- a/lib/versions/v1/Model/GetProjectPhaseResponse.php +++ b/lib/versions/v1/Model/GetProjectPhaseResponse.php @@ -2,7 +2,7 @@ /** * GetProjectPhaseResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectPhasesResponse.php b/lib/versions/v1/Model/GetProjectPhasesResponse.php index 9017c955..7c3ac452 100644 --- a/lib/versions/v1/Model/GetProjectPhasesResponse.php +++ b/lib/versions/v1/Model/GetProjectPhasesResponse.php @@ -2,7 +2,7 @@ /** * GetProjectPhasesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectPlanResponse.php b/lib/versions/v1/Model/GetProjectPlanResponse.php index 7ede7a9d..a3a745b3 100644 --- a/lib/versions/v1/Model/GetProjectPlanResponse.php +++ b/lib/versions/v1/Model/GetProjectPlanResponse.php @@ -2,7 +2,7 @@ /** * GetProjectPlanResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectResponse.php b/lib/versions/v1/Model/GetProjectResponse.php index 5cc4d0d7..c06e8461 100644 --- a/lib/versions/v1/Model/GetProjectResponse.php +++ b/lib/versions/v1/Model/GetProjectResponse.php @@ -2,7 +2,7 @@ /** * GetProjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectTemplateResponse.php b/lib/versions/v1/Model/GetProjectTemplateResponse.php index d3400d0e..f29841be 100644 --- a/lib/versions/v1/Model/GetProjectTemplateResponse.php +++ b/lib/versions/v1/Model/GetProjectTemplateResponse.php @@ -2,7 +2,7 @@ /** * GetProjectTemplateResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectTemplatesResponse.php b/lib/versions/v1/Model/GetProjectTemplatesResponse.php index 811dcd10..de15f36b 100644 --- a/lib/versions/v1/Model/GetProjectTemplatesResponse.php +++ b/lib/versions/v1/Model/GetProjectTemplatesResponse.php @@ -2,7 +2,7 @@ /** * GetProjectTemplatesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetProjectsResponse.php b/lib/versions/v1/Model/GetProjectsResponse.php index bdc34469..598ecf37 100644 --- a/lib/versions/v1/Model/GetProjectsResponse.php +++ b/lib/versions/v1/Model/GetProjectsResponse.php @@ -2,7 +2,7 @@ /** * GetProjectsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetReceiveMessageSuccessResponse.php b/lib/versions/v1/Model/GetReceiveMessageSuccessResponse.php index 9a058671..8c765878 100644 --- a/lib/versions/v1/Model/GetReceiveMessageSuccessResponse.php +++ b/lib/versions/v1/Model/GetReceiveMessageSuccessResponse.php @@ -2,7 +2,7 @@ /** * GetReceiveMessageSuccessResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRecents.php b/lib/versions/v1/Model/GetRecents.php index 30c2a30e..66857385 100644 --- a/lib/versions/v1/Model/GetRecents.php +++ b/lib/versions/v1/Model/GetRecents.php @@ -2,7 +2,7 @@ /** * GetRecents * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRecentsAdditionalData.php b/lib/versions/v1/Model/GetRecentsAdditionalData.php index 6527e45d..1455fbfa 100644 --- a/lib/versions/v1/Model/GetRecentsAdditionalData.php +++ b/lib/versions/v1/Model/GetRecentsAdditionalData.php @@ -2,7 +2,7 @@ /** * GetRecentsAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['since_timestamp'] = $data['since_timestamp'] ?? null; $this->container['last_timestamp_on_page'] = $data['last_timestamp_on_page'] ?? null; diff --git a/lib/versions/v1/Model/GetRole.php b/lib/versions/v1/Model/GetRole.php index 0c4904bd..13704532 100644 --- a/lib/versions/v1/Model/GetRole.php +++ b/lib/versions/v1/Model/GetRole.php @@ -2,7 +2,7 @@ /** * GetRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRoleAssignments.php b/lib/versions/v1/Model/GetRoleAssignments.php index 947e9bfa..b7042780 100644 --- a/lib/versions/v1/Model/GetRoleAssignments.php +++ b/lib/versions/v1/Model/GetRoleAssignments.php @@ -2,7 +2,7 @@ /** * GetRoleAssignments * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRoleAssignmentsResponseData.php b/lib/versions/v1/Model/GetRoleAssignmentsResponseData.php index 6f5525bf..ad5b320a 100644 --- a/lib/versions/v1/Model/GetRoleAssignmentsResponseData.php +++ b/lib/versions/v1/Model/GetRoleAssignmentsResponseData.php @@ -2,7 +2,7 @@ /** * GetRoleAssignmentsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/GetRolePipelines.php b/lib/versions/v1/Model/GetRolePipelines.php index dadfdf2b..1502ed70 100644 --- a/lib/versions/v1/Model/GetRolePipelines.php +++ b/lib/versions/v1/Model/GetRolePipelines.php @@ -2,7 +2,7 @@ /** * GetRolePipelines * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRolePipelinesAllOf.php b/lib/versions/v1/Model/GetRolePipelinesAllOf.php index d183397a..cd3433c1 100644 --- a/lib/versions/v1/Model/GetRolePipelinesAllOf.php +++ b/lib/versions/v1/Model/GetRolePipelinesAllOf.php @@ -2,7 +2,7 @@ /** * GetRolePipelinesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetRolePipelinesResponseData.php b/lib/versions/v1/Model/GetRolePipelinesResponseData.php index 49f05d54..c2f25e48 100644 --- a/lib/versions/v1/Model/GetRolePipelinesResponseData.php +++ b/lib/versions/v1/Model/GetRolePipelinesResponseData.php @@ -2,7 +2,7 @@ /** * GetRolePipelinesResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pipeline_ids'] = $data['pipeline_ids'] ?? null; $this->container['visible'] = $data['visible'] ?? null; diff --git a/lib/versions/v1/Model/GetRoleResponseData.php b/lib/versions/v1/Model/GetRoleResponseData.php index 869b7249..29935979 100644 --- a/lib/versions/v1/Model/GetRoleResponseData.php +++ b/lib/versions/v1/Model/GetRoleResponseData.php @@ -2,7 +2,7 @@ /** * GetRoleResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/GetRoleResponseDataAdditionalData.php b/lib/versions/v1/Model/GetRoleResponseDataAdditionalData.php index 4de533ab..71c2e88c 100644 --- a/lib/versions/v1/Model/GetRoleResponseDataAdditionalData.php +++ b/lib/versions/v1/Model/GetRoleResponseDataAdditionalData.php @@ -2,7 +2,7 @@ /** * GetRoleResponseDataAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['settings'] = $data['settings'] ?? null; } diff --git a/lib/versions/v1/Model/GetRoleSettings.php b/lib/versions/v1/Model/GetRoleSettings.php index 59b75c07..4ad60c8c 100644 --- a/lib/versions/v1/Model/GetRoleSettings.php +++ b/lib/versions/v1/Model/GetRoleSettings.php @@ -2,7 +2,7 @@ /** * GetRoleSettings * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRoleSettingsResponseData.php b/lib/versions/v1/Model/GetRoleSettingsResponseData.php index d1180c8b..12366c61 100644 --- a/lib/versions/v1/Model/GetRoleSettingsResponseData.php +++ b/lib/versions/v1/Model/GetRoleSettingsResponseData.php @@ -2,7 +2,7 @@ /** * GetRoleSettingsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetRoles.php b/lib/versions/v1/Model/GetRoles.php index fa820df9..0bb1e6a9 100644 --- a/lib/versions/v1/Model/GetRoles.php +++ b/lib/versions/v1/Model/GetRoles.php @@ -2,7 +2,7 @@ /** * GetRoles * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetRolesAllOf.php b/lib/versions/v1/Model/GetRolesAllOf.php index c3be9ec9..cfe76861 100644 --- a/lib/versions/v1/Model/GetRolesAllOf.php +++ b/lib/versions/v1/Model/GetRolesAllOf.php @@ -2,7 +2,7 @@ /** * GetRolesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/GetStageDeals.php b/lib/versions/v1/Model/GetStageDeals.php index 903a1db1..d07e779a 100644 --- a/lib/versions/v1/Model/GetStageDeals.php +++ b/lib/versions/v1/Model/GetStageDeals.php @@ -2,7 +2,7 @@ /** * GetStageDeals * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetTaskResponse.php b/lib/versions/v1/Model/GetTaskResponse.php index 60b9e7a1..4cbf5528 100644 --- a/lib/versions/v1/Model/GetTaskResponse.php +++ b/lib/versions/v1/Model/GetTaskResponse.php @@ -2,7 +2,7 @@ /** * GetTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetTasksResponse.php b/lib/versions/v1/Model/GetTasksResponse.php index 96b689e9..f75b6adb 100644 --- a/lib/versions/v1/Model/GetTasksResponse.php +++ b/lib/versions/v1/Model/GetTasksResponse.php @@ -2,7 +2,7 @@ /** * GetTasksResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/GetUserConnectionsResponseData.php b/lib/versions/v1/Model/GetUserConnectionsResponseData.php index 674aa9ed..8bff078f 100644 --- a/lib/versions/v1/Model/GetUserConnectionsResponseData.php +++ b/lib/versions/v1/Model/GetUserConnectionsResponseData.php @@ -2,7 +2,7 @@ /** * GetUserConnectionsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetUserConnectionsResponseDataData.php b/lib/versions/v1/Model/GetUserConnectionsResponseDataData.php index 088ee75a..03062c1e 100644 --- a/lib/versions/v1/Model/GetUserConnectionsResponseDataData.php +++ b/lib/versions/v1/Model/GetUserConnectionsResponseDataData.php @@ -2,7 +2,7 @@ /** * GetUserConnectionsResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['google'] = $data['google'] ?? null; } diff --git a/lib/versions/v1/Model/GetUserResponseData.php b/lib/versions/v1/Model/GetUserResponseData.php index 6d5eb8ae..8a52e160 100644 --- a/lib/versions/v1/Model/GetUserResponseData.php +++ b/lib/versions/v1/Model/GetUserResponseData.php @@ -2,7 +2,7 @@ /** * GetUserResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetUserSettingsResponseData.php b/lib/versions/v1/Model/GetUserSettingsResponseData.php index f8e51a59..8f3f3527 100644 --- a/lib/versions/v1/Model/GetUserSettingsResponseData.php +++ b/lib/versions/v1/Model/GetUserSettingsResponseData.php @@ -2,7 +2,7 @@ /** * GetUserSettingsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GetWebhookResponseData.php b/lib/versions/v1/Model/GetWebhookResponseData.php index 14ef24d7..1c590ac5 100644 --- a/lib/versions/v1/Model/GetWebhookResponseData.php +++ b/lib/versions/v1/Model/GetWebhookResponseData.php @@ -2,7 +2,7 @@ /** * GetWebhookResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/GoalResults.php b/lib/versions/v1/Model/GoalResults.php index 1318b07f..c0ddac53 100644 --- a/lib/versions/v1/Model/GoalResults.php +++ b/lib/versions/v1/Model/GoalResults.php @@ -2,7 +2,7 @@ /** * GoalResults * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['progress'] = $data['progress'] ?? null; $this->container['goal'] = $data['goal'] ?? null; diff --git a/lib/versions/v1/Model/GoalType.php b/lib/versions/v1/Model/GoalType.php index bf853001..ccbee13f 100644 --- a/lib/versions/v1/Model/GoalType.php +++ b/lib/versions/v1/Model/GoalType.php @@ -2,7 +2,7 @@ /** * GoalType * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['params'] = $data['params'] ?? null; diff --git a/lib/versions/v1/Model/GoalsResponseComponent.php b/lib/versions/v1/Model/GoalsResponseComponent.php index 26e25226..9293c51e 100644 --- a/lib/versions/v1/Model/GoalsResponseComponent.php +++ b/lib/versions/v1/Model/GoalsResponseComponent.php @@ -2,7 +2,7 @@ /** * GoalsResponseComponent * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v1/Model/IconKey.php b/lib/versions/v1/Model/IconKey.php index 52ee5fd4..a6d5fa31 100644 --- a/lib/versions/v1/Model/IconKey.php +++ b/lib/versions/v1/Model/IconKey.php @@ -2,7 +2,7 @@ /** * IconKey * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/InternalFieldType.php b/lib/versions/v1/Model/InternalFieldType.php index 329660a6..b09f3f80 100644 --- a/lib/versions/v1/Model/InternalFieldType.php +++ b/lib/versions/v1/Model/InternalFieldType.php @@ -2,7 +2,7 @@ /** * InternalFieldType * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/ItemSearchAdditionalData.php b/lib/versions/v1/Model/ItemSearchAdditionalData.php index cd93c620..22b46529 100644 --- a/lib/versions/v1/Model/ItemSearchAdditionalData.php +++ b/lib/versions/v1/Model/ItemSearchAdditionalData.php @@ -2,7 +2,7 @@ /** * ItemSearchAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pagination'] = $data['pagination'] ?? null; } diff --git a/lib/versions/v1/Model/ItemSearchAdditionalDataPagination.php b/lib/versions/v1/Model/ItemSearchAdditionalDataPagination.php index cdea5250..0250e8e8 100644 --- a/lib/versions/v1/Model/ItemSearchAdditionalDataPagination.php +++ b/lib/versions/v1/Model/ItemSearchAdditionalDataPagination.php @@ -2,7 +2,7 @@ /** * ItemSearchAdditionalDataPagination * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start'] = $data['start'] ?? null; $this->container['limit'] = $data['limit'] ?? null; diff --git a/lib/versions/v1/Model/LeadLabelColor.php b/lib/versions/v1/Model/LeadLabelColor.php index 7accb115..ccda1a6c 100644 --- a/lib/versions/v1/Model/LeadLabelColor.php +++ b/lib/versions/v1/Model/LeadLabelColor.php @@ -2,7 +2,7 @@ /** * LeadLabelColor * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/LeadLabelResponse.php b/lib/versions/v1/Model/LeadLabelResponse.php index 98c2ce1c..173f3900 100644 --- a/lib/versions/v1/Model/LeadLabelResponse.php +++ b/lib/versions/v1/Model/LeadLabelResponse.php @@ -2,7 +2,7 @@ /** * LeadLabelResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/LeadNotFoundResponse.php b/lib/versions/v1/Model/LeadNotFoundResponse.php index 254f9ff4..5a264e59 100644 --- a/lib/versions/v1/Model/LeadNotFoundResponse.php +++ b/lib/versions/v1/Model/LeadNotFoundResponse.php @@ -2,7 +2,7 @@ /** * LeadNotFoundResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/LeadResponse.php b/lib/versions/v1/Model/LeadResponse.php index 89ed7387..3ae41e43 100644 --- a/lib/versions/v1/Model/LeadResponse.php +++ b/lib/versions/v1/Model/LeadResponse.php @@ -2,7 +2,7 @@ /** * LeadResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -302,7 +302,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchItem.php b/lib/versions/v1/Model/LeadSearchItem.php index e8344ec4..6d265b75 100644 --- a/lib/versions/v1/Model/LeadSearchItem.php +++ b/lib/versions/v1/Model/LeadSearchItem.php @@ -2,7 +2,7 @@ /** * LeadSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchItemItem.php b/lib/versions/v1/Model/LeadSearchItemItem.php index 7bc47fa5..c0163dad 100644 --- a/lib/versions/v1/Model/LeadSearchItemItem.php +++ b/lib/versions/v1/Model/LeadSearchItemItem.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchItemItemOrganization.php b/lib/versions/v1/Model/LeadSearchItemItemOrganization.php index e01420a4..c82af665 100644 --- a/lib/versions/v1/Model/LeadSearchItemItemOrganization.php +++ b/lib/versions/v1/Model/LeadSearchItemItemOrganization.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchItemItemOwner.php b/lib/versions/v1/Model/LeadSearchItemItemOwner.php index a8cdb4db..4a646969 100644 --- a/lib/versions/v1/Model/LeadSearchItemItemOwner.php +++ b/lib/versions/v1/Model/LeadSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/LeadSearchItemItemPerson.php b/lib/versions/v1/Model/LeadSearchItemItemPerson.php index 06d32aa7..a734ede4 100644 --- a/lib/versions/v1/Model/LeadSearchItemItemPerson.php +++ b/lib/versions/v1/Model/LeadSearchItemItemPerson.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchResponse.php b/lib/versions/v1/Model/LeadSearchResponse.php index d22b93eb..1a47b8af 100644 --- a/lib/versions/v1/Model/LeadSearchResponse.php +++ b/lib/versions/v1/Model/LeadSearchResponse.php @@ -2,7 +2,7 @@ /** * LeadSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchResponseAllOf.php b/lib/versions/v1/Model/LeadSearchResponseAllOf.php index 11c7b194..b612942d 100644 --- a/lib/versions/v1/Model/LeadSearchResponseAllOf.php +++ b/lib/versions/v1/Model/LeadSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * LeadSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/LeadSearchResponseAllOfData.php b/lib/versions/v1/Model/LeadSearchResponseAllOfData.php index 245684b0..767c5a43 100644 --- a/lib/versions/v1/Model/LeadSearchResponseAllOfData.php +++ b/lib/versions/v1/Model/LeadSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * LeadSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v1/Model/LeadSource.php b/lib/versions/v1/Model/LeadSource.php index 5e9b05ae..98db1363 100644 --- a/lib/versions/v1/Model/LeadSource.php +++ b/lib/versions/v1/Model/LeadSource.php @@ -2,7 +2,7 @@ /** * LeadSource * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; } diff --git a/lib/versions/v1/Model/LeadValue.php b/lib/versions/v1/Model/LeadValue.php index 809db121..6c17a1c4 100644 --- a/lib/versions/v1/Model/LeadValue.php +++ b/lib/versions/v1/Model/LeadValue.php @@ -2,7 +2,7 @@ /** * LeadValue * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['amount'] = $data['amount'] ?? null; $this->container['currency'] = $data['currency'] ?? null; diff --git a/lib/versions/v1/Model/LinkRemoteFileToItem.php b/lib/versions/v1/Model/LinkRemoteFileToItem.php index 19c7f0c1..6ce29324 100644 --- a/lib/versions/v1/Model/LinkRemoteFileToItem.php +++ b/lib/versions/v1/Model/LinkRemoteFileToItem.php @@ -2,7 +2,7 @@ /** * LinkRemoteFileToItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListDealsResponse.php b/lib/versions/v1/Model/ListDealsResponse.php index 8a36c183..8b64d230 100644 --- a/lib/versions/v1/Model/ListDealsResponse.php +++ b/lib/versions/v1/Model/ListDealsResponse.php @@ -2,7 +2,7 @@ /** * ListDealsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListDealsResponseAllOf.php b/lib/versions/v1/Model/ListDealsResponseAllOf.php index f9bb5e41..6ae9d4ae 100644 --- a/lib/versions/v1/Model/ListDealsResponseAllOf.php +++ b/lib/versions/v1/Model/ListDealsResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListDealsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListDealsResponseAllOfRelatedObjects.php b/lib/versions/v1/Model/ListDealsResponseAllOfRelatedObjects.php index ac6954f9..183c8865 100644 --- a/lib/versions/v1/Model/ListDealsResponseAllOfRelatedObjects.php +++ b/lib/versions/v1/Model/ListDealsResponseAllOfRelatedObjects.php @@ -2,7 +2,7 @@ /** * ListDealsResponseAllOfRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization'] = $data['organization'] ?? null; $this->container['person'] = $data['person'] ?? null; diff --git a/lib/versions/v1/Model/ListFilesResponse.php b/lib/versions/v1/Model/ListFilesResponse.php index a7f7fb1f..440ef524 100644 --- a/lib/versions/v1/Model/ListFilesResponse.php +++ b/lib/versions/v1/Model/ListFilesResponse.php @@ -2,7 +2,7 @@ /** * ListFilesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListFilesResponseAllOf.php b/lib/versions/v1/Model/ListFilesResponseAllOf.php index fd8d2d68..2a89f99c 100644 --- a/lib/versions/v1/Model/ListFilesResponseAllOf.php +++ b/lib/versions/v1/Model/ListFilesResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListFilesResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListFollowersResponse.php b/lib/versions/v1/Model/ListFollowersResponse.php index eab1c239..ec8b154d 100644 --- a/lib/versions/v1/Model/ListFollowersResponse.php +++ b/lib/versions/v1/Model/ListFollowersResponse.php @@ -2,7 +2,7 @@ /** * ListFollowersResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListFollowersResponseAllOf.php b/lib/versions/v1/Model/ListFollowersResponseAllOf.php index b7fe5b93..774c6963 100644 --- a/lib/versions/v1/Model/ListFollowersResponseAllOf.php +++ b/lib/versions/v1/Model/ListFollowersResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListFollowersResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListFollowersResponseAllOfData.php b/lib/versions/v1/Model/ListFollowersResponseAllOfData.php index e529bfb7..8be77dd3 100644 --- a/lib/versions/v1/Model/ListFollowersResponseAllOfData.php +++ b/lib/versions/v1/Model/ListFollowersResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ListFollowersResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/ListMailMessagesResponse.php b/lib/versions/v1/Model/ListMailMessagesResponse.php index de8181cc..a53f7c54 100644 --- a/lib/versions/v1/Model/ListMailMessagesResponse.php +++ b/lib/versions/v1/Model/ListMailMessagesResponse.php @@ -2,7 +2,7 @@ /** * ListMailMessagesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListMailMessagesResponseAllOf.php b/lib/versions/v1/Model/ListMailMessagesResponseAllOf.php index 5126738a..e86548a3 100644 --- a/lib/versions/v1/Model/ListMailMessagesResponseAllOf.php +++ b/lib/versions/v1/Model/ListMailMessagesResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListMailMessagesResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListMailMessagesResponseAllOfData.php b/lib/versions/v1/Model/ListMailMessagesResponseAllOfData.php index 8474e905..d3e5d518 100644 --- a/lib/versions/v1/Model/ListMailMessagesResponseAllOfData.php +++ b/lib/versions/v1/Model/ListMailMessagesResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ListMailMessagesResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/lib/versions/v1/Model/ListPermittedUsersResponse.php b/lib/versions/v1/Model/ListPermittedUsersResponse.php index bc87b929..d82776d4 100644 --- a/lib/versions/v1/Model/ListPermittedUsersResponse.php +++ b/lib/versions/v1/Model/ListPermittedUsersResponse.php @@ -2,7 +2,7 @@ /** * ListPermittedUsersResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v1/Model/ListPermittedUsersResponse1.php b/lib/versions/v1/Model/ListPermittedUsersResponse1.php index cbb911ca..31a99b5a 100644 --- a/lib/versions/v1/Model/ListPermittedUsersResponse1.php +++ b/lib/versions/v1/Model/ListPermittedUsersResponse1.php @@ -2,7 +2,7 @@ /** * ListPermittedUsersResponse1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListPermittedUsersResponse1AllOf.php b/lib/versions/v1/Model/ListPermittedUsersResponse1AllOf.php index 36b86da1..626a1200 100644 --- a/lib/versions/v1/Model/ListPermittedUsersResponse1AllOf.php +++ b/lib/versions/v1/Model/ListPermittedUsersResponse1AllOf.php @@ -2,7 +2,7 @@ /** * ListPermittedUsersResponse1AllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/ListPersonProductsResponse.php b/lib/versions/v1/Model/ListPersonProductsResponse.php index 2cf032a7..531b83ad 100644 --- a/lib/versions/v1/Model/ListPersonProductsResponse.php +++ b/lib/versions/v1/Model/ListPersonProductsResponse.php @@ -2,7 +2,7 @@ /** * ListPersonProductsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListPersonProductsResponseAllOf.php b/lib/versions/v1/Model/ListPersonProductsResponseAllOf.php index 6c0db007..506c7b58 100644 --- a/lib/versions/v1/Model/ListPersonProductsResponseAllOf.php +++ b/lib/versions/v1/Model/ListPersonProductsResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListPersonProductsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListPersonProductsResponseAllOfDEALID.php b/lib/versions/v1/Model/ListPersonProductsResponseAllOfDEALID.php index 8f198f4e..dce38aaf 100644 --- a/lib/versions/v1/Model/ListPersonProductsResponseAllOfDEALID.php +++ b/lib/versions/v1/Model/ListPersonProductsResponseAllOfDEALID.php @@ -2,7 +2,7 @@ /** * ListPersonProductsResponseAllOfDEALID * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal'] = $data['deal'] ?? null; $this->container['product'] = $data['product'] ?? null; diff --git a/lib/versions/v1/Model/ListPersonProductsResponseAllOfData.php b/lib/versions/v1/Model/ListPersonProductsResponseAllOfData.php index c2def83c..31e7efe7 100644 --- a/lib/versions/v1/Model/ListPersonProductsResponseAllOfData.php +++ b/lib/versions/v1/Model/ListPersonProductsResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ListPersonProductsResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal_id'] = $data['deal_id'] ?? null; } diff --git a/lib/versions/v1/Model/ListProductFilesResponse.php b/lib/versions/v1/Model/ListProductFilesResponse.php index 6cea1a57..592903ad 100644 --- a/lib/versions/v1/Model/ListProductFilesResponse.php +++ b/lib/versions/v1/Model/ListProductFilesResponse.php @@ -2,7 +2,7 @@ /** * ListProductFilesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListProductFilesResponseAllOf.php b/lib/versions/v1/Model/ListProductFilesResponseAllOf.php index 9bcd0cb6..71feccfa 100644 --- a/lib/versions/v1/Model/ListProductFilesResponseAllOf.php +++ b/lib/versions/v1/Model/ListProductFilesResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListProductFilesResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListProductFollowersResponse.php b/lib/versions/v1/Model/ListProductFollowersResponse.php index b5295daa..4fa4a9c4 100644 --- a/lib/versions/v1/Model/ListProductFollowersResponse.php +++ b/lib/versions/v1/Model/ListProductFollowersResponse.php @@ -2,7 +2,7 @@ /** * ListProductFollowersResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ListProductFollowersResponseAllOf.php b/lib/versions/v1/Model/ListProductFollowersResponseAllOf.php index a1b15586..199c9a62 100644 --- a/lib/versions/v1/Model/ListProductFollowersResponseAllOf.php +++ b/lib/versions/v1/Model/ListProductFollowersResponseAllOf.php @@ -2,7 +2,7 @@ /** * ListProductFollowersResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/ListProductFollowersResponseAllOfData.php b/lib/versions/v1/Model/ListProductFollowersResponseAllOfData.php index 2cc85960..3aa919f2 100644 --- a/lib/versions/v1/Model/ListProductFollowersResponseAllOfData.php +++ b/lib/versions/v1/Model/ListProductFollowersResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ListProductFollowersResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/MailMessage.php b/lib/versions/v1/Model/MailMessage.php index 8976037a..1cb97acd 100644 --- a/lib/versions/v1/Model/MailMessage.php +++ b/lib/versions/v1/Model/MailMessage.php @@ -2,7 +2,7 @@ /** * MailMessage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status_code'] = $data['status_code'] ?? null; diff --git a/lib/versions/v1/Model/MailMessageAllOf.php b/lib/versions/v1/Model/MailMessageAllOf.php index 183b4cb6..08042031 100644 --- a/lib/versions/v1/Model/MailMessageAllOf.php +++ b/lib/versions/v1/Model/MailMessageAllOf.php @@ -2,7 +2,7 @@ /** * MailMessageAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MailMessageData.php b/lib/versions/v1/Model/MailMessageData.php index 3b4c94f0..93e78400 100644 --- a/lib/versions/v1/Model/MailMessageData.php +++ b/lib/versions/v1/Model/MailMessageData.php @@ -2,7 +2,7 @@ /** * MailMessageData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -349,7 +349,7 @@ public function getMailTrackingStatusAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['from'] = $data['from'] ?? null; diff --git a/lib/versions/v1/Model/MailMessageItemForList.php b/lib/versions/v1/Model/MailMessageItemForList.php index 7fcd1f80..54f3efd3 100644 --- a/lib/versions/v1/Model/MailMessageItemForList.php +++ b/lib/versions/v1/Model/MailMessageItemForList.php @@ -2,7 +2,7 @@ /** * MailMessageItemForList * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -394,7 +394,7 @@ public function getMailTrackingStatusAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['from'] = $data['from'] ?? null; diff --git a/lib/versions/v1/Model/MailMessageItemForListAllOf.php b/lib/versions/v1/Model/MailMessageItemForListAllOf.php index e3af6024..75f3e5dd 100644 --- a/lib/versions/v1/Model/MailMessageItemForListAllOf.php +++ b/lib/versions/v1/Model/MailMessageItemForListAllOf.php @@ -2,7 +2,7 @@ /** * MailMessageItemForListAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['nylas_id'] = $data['nylas_id'] ?? null; $this->container['s3_bucket'] = $data['s3_bucket'] ?? null; diff --git a/lib/versions/v1/Model/MailParticipant.php b/lib/versions/v1/Model/MailParticipant.php index 2b0bd2ff..2c1a5803 100644 --- a/lib/versions/v1/Model/MailParticipant.php +++ b/lib/versions/v1/Model/MailParticipant.php @@ -2,7 +2,7 @@ /** * MailParticipant * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['email_address'] = $data['email_address'] ?? null; diff --git a/lib/versions/v1/Model/MailServiceBaseResponse.php b/lib/versions/v1/Model/MailServiceBaseResponse.php index 24619b40..41912059 100644 --- a/lib/versions/v1/Model/MailServiceBaseResponse.php +++ b/lib/versions/v1/Model/MailServiceBaseResponse.php @@ -2,7 +2,7 @@ /** * MailServiceBaseResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status_code'] = $data['status_code'] ?? null; diff --git a/lib/versions/v1/Model/MailThread.php b/lib/versions/v1/Model/MailThread.php index 8881860e..e365e572 100644 --- a/lib/versions/v1/Model/MailThread.php +++ b/lib/versions/v1/Model/MailThread.php @@ -2,7 +2,7 @@ /** * MailThread * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadAllOf.php b/lib/versions/v1/Model/MailThreadAllOf.php index 6a92a06e..8abe29aa 100644 --- a/lib/versions/v1/Model/MailThreadAllOf.php +++ b/lib/versions/v1/Model/MailThreadAllOf.php @@ -2,7 +2,7 @@ /** * MailThreadAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MailThreadDelete.php b/lib/versions/v1/Model/MailThreadDelete.php index 5bf7e19b..68faf6ef 100644 --- a/lib/versions/v1/Model/MailThreadDelete.php +++ b/lib/versions/v1/Model/MailThreadDelete.php @@ -2,7 +2,7 @@ /** * MailThreadDelete * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadDeleteAllOf.php b/lib/versions/v1/Model/MailThreadDeleteAllOf.php index e2695ef3..ff287c5b 100644 --- a/lib/versions/v1/Model/MailThreadDeleteAllOf.php +++ b/lib/versions/v1/Model/MailThreadDeleteAllOf.php @@ -2,7 +2,7 @@ /** * MailThreadDeleteAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MailThreadDeleteAllOfData.php b/lib/versions/v1/Model/MailThreadDeleteAllOfData.php index f04386ec..c46ab9f5 100644 --- a/lib/versions/v1/Model/MailThreadDeleteAllOfData.php +++ b/lib/versions/v1/Model/MailThreadDeleteAllOfData.php @@ -2,7 +2,7 @@ /** * MailThreadDeleteAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/MailThreadMessages.php b/lib/versions/v1/Model/MailThreadMessages.php index d9973e58..cc8d1161 100644 --- a/lib/versions/v1/Model/MailThreadMessages.php +++ b/lib/versions/v1/Model/MailThreadMessages.php @@ -2,7 +2,7 @@ /** * MailThreadMessages * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadMessagesAllOf.php b/lib/versions/v1/Model/MailThreadMessagesAllOf.php index bbab0b7f..6858dc31 100644 --- a/lib/versions/v1/Model/MailThreadMessagesAllOf.php +++ b/lib/versions/v1/Model/MailThreadMessagesAllOf.php @@ -2,7 +2,7 @@ /** * MailThreadMessagesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MailThreadOne.php b/lib/versions/v1/Model/MailThreadOne.php index b9de57bd..f901507c 100644 --- a/lib/versions/v1/Model/MailThreadOne.php +++ b/lib/versions/v1/Model/MailThreadOne.php @@ -2,7 +2,7 @@ /** * MailThreadOne * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadOneAllOf.php b/lib/versions/v1/Model/MailThreadOneAllOf.php index a8820f8c..2f2d6f6e 100644 --- a/lib/versions/v1/Model/MailThreadOneAllOf.php +++ b/lib/versions/v1/Model/MailThreadOneAllOf.php @@ -2,7 +2,7 @@ /** * MailThreadOneAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MailThreadParticipant.php b/lib/versions/v1/Model/MailThreadParticipant.php index 11cc07a6..223dfb6d 100644 --- a/lib/versions/v1/Model/MailThreadParticipant.php +++ b/lib/versions/v1/Model/MailThreadParticipant.php @@ -2,7 +2,7 @@ /** * MailThreadParticipant * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -238,7 +238,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadPut.php b/lib/versions/v1/Model/MailThreadPut.php index f573f66b..b5314b08 100644 --- a/lib/versions/v1/Model/MailThreadPut.php +++ b/lib/versions/v1/Model/MailThreadPut.php @@ -2,7 +2,7 @@ /** * MailThreadPut * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MailThreadPutAllOf.php b/lib/versions/v1/Model/MailThreadPutAllOf.php index 176352df..f26c1331 100644 --- a/lib/versions/v1/Model/MailThreadPutAllOf.php +++ b/lib/versions/v1/Model/MailThreadPutAllOf.php @@ -2,7 +2,7 @@ /** * MailThreadPutAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MergeDealsRequest.php b/lib/versions/v1/Model/MergeDealsRequest.php index 9a6be37d..bc7e82d4 100644 --- a/lib/versions/v1/Model/MergeDealsRequest.php +++ b/lib/versions/v1/Model/MergeDealsRequest.php @@ -2,7 +2,7 @@ /** * MergeDealsRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['merge_with_id'] = $data['merge_with_id'] ?? null; } diff --git a/lib/versions/v1/Model/MergeOrganizationsRequest.php b/lib/versions/v1/Model/MergeOrganizationsRequest.php index 359fe4a8..98e2b9b3 100644 --- a/lib/versions/v1/Model/MergeOrganizationsRequest.php +++ b/lib/versions/v1/Model/MergeOrganizationsRequest.php @@ -2,7 +2,7 @@ /** * MergeOrganizationsRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['merge_with_id'] = $data['merge_with_id'] ?? null; } diff --git a/lib/versions/v1/Model/MergePersonDealRelatedInfo.php b/lib/versions/v1/Model/MergePersonDealRelatedInfo.php index 11c80320..ed74d454 100644 --- a/lib/versions/v1/Model/MergePersonDealRelatedInfo.php +++ b/lib/versions/v1/Model/MergePersonDealRelatedInfo.php @@ -2,7 +2,7 @@ /** * MergePersonDealRelatedInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['open_deals_count'] = $data['open_deals_count'] ?? null; $this->container['related_open_deals_count'] = $data['related_open_deals_count'] ?? null; diff --git a/lib/versions/v1/Model/MergePersonItem.php b/lib/versions/v1/Model/MergePersonItem.php index 24254191..ab965de0 100644 --- a/lib/versions/v1/Model/MergePersonItem.php +++ b/lib/versions/v1/Model/MergePersonItem.php @@ -2,7 +2,7 @@ /** * MergePersonItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -417,7 +417,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/MergePersonsRequest.php b/lib/versions/v1/Model/MergePersonsRequest.php index 398cdc7f..757cdf25 100644 --- a/lib/versions/v1/Model/MergePersonsRequest.php +++ b/lib/versions/v1/Model/MergePersonsRequest.php @@ -2,7 +2,7 @@ /** * MergePersonsRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['merge_with_id'] = $data['merge_with_id'] ?? null; } diff --git a/lib/versions/v1/Model/MergePersonsResponse.php b/lib/versions/v1/Model/MergePersonsResponse.php index 1a258c6d..e1d66633 100644 --- a/lib/versions/v1/Model/MergePersonsResponse.php +++ b/lib/versions/v1/Model/MergePersonsResponse.php @@ -2,7 +2,7 @@ /** * MergePersonsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/MergePersonsResponseAllOf.php b/lib/versions/v1/Model/MergePersonsResponseAllOf.php index 5c59da0f..750a3078 100644 --- a/lib/versions/v1/Model/MergePersonsResponseAllOf.php +++ b/lib/versions/v1/Model/MergePersonsResponseAllOf.php @@ -2,7 +2,7 @@ /** * MergePersonsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/MessageObject.php b/lib/versions/v1/Model/MessageObject.php index 4a817764..277ffeef 100644 --- a/lib/versions/v1/Model/MessageObject.php +++ b/lib/versions/v1/Model/MessageObject.php @@ -2,7 +2,7 @@ /** * MessageObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -263,7 +263,7 @@ public function getStatusAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['channel_id'] = $data['channel_id'] ?? null; diff --git a/lib/versions/v1/Model/MessageObjectAttachments.php b/lib/versions/v1/Model/MessageObjectAttachments.php index fe25c60c..aa6f1491 100644 --- a/lib/versions/v1/Model/MessageObjectAttachments.php +++ b/lib/versions/v1/Model/MessageObjectAttachments.php @@ -2,7 +2,7 @@ /** * MessageObjectAttachments * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/ModelInterface.php b/lib/versions/v1/Model/ModelInterface.php index c7ce4567..03021dcd 100644 --- a/lib/versions/v1/Model/ModelInterface.php +++ b/lib/versions/v1/Model/ModelInterface.php @@ -2,7 +2,7 @@ /** * ModelInterface * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1\Model diff --git a/lib/versions/v1/Model/NewFollowerResponse.php b/lib/versions/v1/Model/NewFollowerResponse.php index f8f88974..e7012922 100644 --- a/lib/versions/v1/Model/NewFollowerResponse.php +++ b/lib/versions/v1/Model/NewFollowerResponse.php @@ -2,7 +2,7 @@ /** * NewFollowerResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/NewFollowerResponseData.php b/lib/versions/v1/Model/NewFollowerResponseData.php index 8fbe1db7..54bab757 100644 --- a/lib/versions/v1/Model/NewFollowerResponseData.php +++ b/lib/versions/v1/Model/NewFollowerResponseData.php @@ -2,7 +2,7 @@ /** * NewFollowerResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/NewGoal.php b/lib/versions/v1/Model/NewGoal.php index bcc81c33..961ae15b 100644 --- a/lib/versions/v1/Model/NewGoal.php +++ b/lib/versions/v1/Model/NewGoal.php @@ -2,7 +2,7 @@ /** * NewGoal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -243,7 +243,7 @@ public function getIntervalAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['assignee'] = $data['assignee'] ?? null; diff --git a/lib/versions/v1/Model/NewProductField.php b/lib/versions/v1/Model/NewProductField.php index c14f2a63..6b5f9ae1 100644 --- a/lib/versions/v1/Model/NewProductField.php +++ b/lib/versions/v1/Model/NewProductField.php @@ -2,7 +2,7 @@ /** * NewProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/Note.php b/lib/versions/v1/Model/Note.php index cf335e6c..c25cb96d 100644 --- a/lib/versions/v1/Model/Note.php +++ b/lib/versions/v1/Model/Note.php @@ -2,7 +2,7 @@ /** * Note * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = $data['content'] ?? null; $this->container['lead_id'] = $data['lead_id'] ?? null; diff --git a/lib/versions/v1/Model/NoteAllOf.php b/lib/versions/v1/Model/NoteAllOf.php index 86a18e87..73bae879 100644 --- a/lib/versions/v1/Model/NoteAllOf.php +++ b/lib/versions/v1/Model/NoteAllOf.php @@ -2,7 +2,7 @@ /** * NoteAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = $data['content'] ?? null; } diff --git a/lib/versions/v1/Model/NoteConnectToParams.php b/lib/versions/v1/Model/NoteConnectToParams.php index 5ae8cfc7..212f381a 100644 --- a/lib/versions/v1/Model/NoteConnectToParams.php +++ b/lib/versions/v1/Model/NoteConnectToParams.php @@ -2,7 +2,7 @@ /** * NoteConnectToParams * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['lead_id'] = $data['lead_id'] ?? null; $this->container['deal_id'] = $data['deal_id'] ?? null; diff --git a/lib/versions/v1/Model/NoteCreatorUser.php b/lib/versions/v1/Model/NoteCreatorUser.php index c62a5b4e..96fc6558 100644 --- a/lib/versions/v1/Model/NoteCreatorUser.php +++ b/lib/versions/v1/Model/NoteCreatorUser.php @@ -2,7 +2,7 @@ /** * NoteCreatorUser * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['icon_url'] = $data['icon_url'] ?? null; diff --git a/lib/versions/v1/Model/NoteField.php b/lib/versions/v1/Model/NoteField.php index 4fd7460d..17cce201 100644 --- a/lib/versions/v1/Model/NoteField.php +++ b/lib/versions/v1/Model/NoteField.php @@ -2,7 +2,7 @@ /** * NoteField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['key'] = $data['key'] ?? null; diff --git a/lib/versions/v1/Model/NoteFieldOptions.php b/lib/versions/v1/Model/NoteFieldOptions.php index 00cd2f20..3d5c65d1 100644 --- a/lib/versions/v1/Model/NoteFieldOptions.php +++ b/lib/versions/v1/Model/NoteFieldOptions.php @@ -2,7 +2,7 @@ /** * NoteFieldOptions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/lib/versions/v1/Model/NoteFieldsResponse.php b/lib/versions/v1/Model/NoteFieldsResponse.php index 6d77c35a..02e88574 100644 --- a/lib/versions/v1/Model/NoteFieldsResponse.php +++ b/lib/versions/v1/Model/NoteFieldsResponse.php @@ -2,7 +2,7 @@ /** * NoteFieldsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/NoteFieldsResponseAllOf.php b/lib/versions/v1/Model/NoteFieldsResponseAllOf.php index fe4f1d5e..863c2ec5 100644 --- a/lib/versions/v1/Model/NoteFieldsResponseAllOf.php +++ b/lib/versions/v1/Model/NoteFieldsResponseAllOf.php @@ -2,7 +2,7 @@ /** * NoteFieldsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/NoteParams.php b/lib/versions/v1/Model/NoteParams.php index 87c2128f..faf77063 100644 --- a/lib/versions/v1/Model/NoteParams.php +++ b/lib/versions/v1/Model/NoteParams.php @@ -2,7 +2,7 @@ /** * NoteParams * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['add_time'] = $data['add_time'] ?? null; diff --git a/lib/versions/v1/Model/NumberBoolean.php b/lib/versions/v1/Model/NumberBoolean.php index 1cf9de72..a411c54d 100644 --- a/lib/versions/v1/Model/NumberBoolean.php +++ b/lib/versions/v1/Model/NumberBoolean.php @@ -2,7 +2,7 @@ /** * NumberBoolean * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/NumberBooleanDefault0.php b/lib/versions/v1/Model/NumberBooleanDefault0.php index 40d14962..c4a59d06 100644 --- a/lib/versions/v1/Model/NumberBooleanDefault0.php +++ b/lib/versions/v1/Model/NumberBooleanDefault0.php @@ -2,7 +2,7 @@ /** * NumberBooleanDefault0 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/NumberBooleanDefault1.php b/lib/versions/v1/Model/NumberBooleanDefault1.php index 74aefc2d..e57b2a4e 100644 --- a/lib/versions/v1/Model/NumberBooleanDefault1.php +++ b/lib/versions/v1/Model/NumberBooleanDefault1.php @@ -2,7 +2,7 @@ /** * NumberBooleanDefault1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/OrgAndOwnerId.php b/lib/versions/v1/Model/OrgAndOwnerId.php index b798c021..f10b7320 100644 --- a/lib/versions/v1/Model/OrgAndOwnerId.php +++ b/lib/versions/v1/Model/OrgAndOwnerId.php @@ -2,7 +2,7 @@ /** * OrgAndOwnerId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationAddressInfo.php b/lib/versions/v1/Model/OrganizationAddressInfo.php index a2eb02ab..92848d89 100644 --- a/lib/versions/v1/Model/OrganizationAddressInfo.php +++ b/lib/versions/v1/Model/OrganizationAddressInfo.php @@ -2,7 +2,7 @@ /** * OrganizationAddressInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -247,7 +247,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['address'] = $data['address'] ?? null; $this->container['address_subpremise'] = $data['address_subpremise'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationCountAndAddressInfo.php b/lib/versions/v1/Model/OrganizationCountAndAddressInfo.php index a7afdd64..300eef09 100644 --- a/lib/versions/v1/Model/OrganizationCountAndAddressInfo.php +++ b/lib/versions/v1/Model/OrganizationCountAndAddressInfo.php @@ -2,7 +2,7 @@ /** * OrganizationCountAndAddressInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -287,7 +287,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationCountInfo.php b/lib/versions/v1/Model/OrganizationCountInfo.php index cd484aa4..d3a19aa8 100644 --- a/lib/versions/v1/Model/OrganizationCountInfo.php +++ b/lib/versions/v1/Model/OrganizationCountInfo.php @@ -2,7 +2,7 @@ /** * OrganizationCountInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationData.php b/lib/versions/v1/Model/OrganizationData.php index 9f950b69..b76e6c59 100644 --- a/lib/versions/v1/Model/OrganizationData.php +++ b/lib/versions/v1/Model/OrganizationData.php @@ -2,7 +2,7 @@ /** * OrganizationData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationDataWithId.php b/lib/versions/v1/Model/OrganizationDataWithId.php index ec986f06..ef06dc9e 100644 --- a/lib/versions/v1/Model/OrganizationDataWithId.php +++ b/lib/versions/v1/Model/OrganizationDataWithId.php @@ -2,7 +2,7 @@ /** * OrganizationDataWithId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationDataWithIdAllOf.php b/lib/versions/v1/Model/OrganizationDataWithIdAllOf.php index cb9cbba5..ae3b6ae0 100644 --- a/lib/versions/v1/Model/OrganizationDataWithIdAllOf.php +++ b/lib/versions/v1/Model/OrganizationDataWithIdAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationDataWithIdAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlag.php b/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlag.php index 98bf54f8..89bf2599 100644 --- a/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlag.php +++ b/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlag.php @@ -2,7 +2,7 @@ /** * OrganizationDataWithIdAndActiveFlag * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlagAllOf.php b/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlagAllOf.php index de27852f..72713a21 100644 --- a/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlagAllOf.php +++ b/lib/versions/v1/Model/OrganizationDataWithIdAndActiveFlagAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationDataWithIdAndActiveFlagAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationFlowResponse.php b/lib/versions/v1/Model/OrganizationFlowResponse.php index 4993b56e..b8846ed9 100644 --- a/lib/versions/v1/Model/OrganizationFlowResponse.php +++ b/lib/versions/v1/Model/OrganizationFlowResponse.php @@ -2,7 +2,7 @@ /** * OrganizationFlowResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFlowResponseAllOf.php b/lib/versions/v1/Model/OrganizationFlowResponseAllOf.php index a9fee149..8d93ca2e 100644 --- a/lib/versions/v1/Model/OrganizationFlowResponseAllOf.php +++ b/lib/versions/v1/Model/OrganizationFlowResponseAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationFlowResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFlowResponseAllOfData.php b/lib/versions/v1/Model/OrganizationFlowResponseAllOfData.php index ed7b794c..f8d242a1 100644 --- a/lib/versions/v1/Model/OrganizationFlowResponseAllOfData.php +++ b/lib/versions/v1/Model/OrganizationFlowResponseAllOfData.php @@ -2,7 +2,7 @@ /** * OrganizationFlowResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFlowResponseAllOfRelatedObjects.php b/lib/versions/v1/Model/OrganizationFlowResponseAllOfRelatedObjects.php index d2f33cc1..66d2951a 100644 --- a/lib/versions/v1/Model/OrganizationFlowResponseAllOfRelatedObjects.php +++ b/lib/versions/v1/Model/OrganizationFlowResponseAllOfRelatedObjects.php @@ -2,7 +2,7 @@ /** * OrganizationFlowResponseAllOfRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization'] = $data['organization'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFollowerDeleteResponse.php b/lib/versions/v1/Model/OrganizationFollowerDeleteResponse.php index 44bacbae..c0d05e3e 100644 --- a/lib/versions/v1/Model/OrganizationFollowerDeleteResponse.php +++ b/lib/versions/v1/Model/OrganizationFollowerDeleteResponse.php @@ -2,7 +2,7 @@ /** * OrganizationFollowerDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFollowerDeleteResponseData.php b/lib/versions/v1/Model/OrganizationFollowerDeleteResponseData.php index 78be2158..8b2adbb7 100644 --- a/lib/versions/v1/Model/OrganizationFollowerDeleteResponseData.php +++ b/lib/versions/v1/Model/OrganizationFollowerDeleteResponseData.php @@ -2,7 +2,7 @@ /** * OrganizationFollowerDeleteResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationFollowerItem.php b/lib/versions/v1/Model/OrganizationFollowerItem.php index 2776cb88..d20e4c4c 100644 --- a/lib/versions/v1/Model/OrganizationFollowerItem.php +++ b/lib/versions/v1/Model/OrganizationFollowerItem.php @@ -2,7 +2,7 @@ /** * OrganizationFollowerItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = $data['org_id'] ?? null; $this->container['user_id'] = $data['user_id'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFollowerItemAllOf.php b/lib/versions/v1/Model/OrganizationFollowerItemAllOf.php index 1a9b2ba7..2cce5429 100644 --- a/lib/versions/v1/Model/OrganizationFollowerItemAllOf.php +++ b/lib/versions/v1/Model/OrganizationFollowerItemAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationFollowerItemAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = $data['org_id'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationFollowerPostResponse.php b/lib/versions/v1/Model/OrganizationFollowerPostResponse.php index 9a88b5bf..ffd0efbf 100644 --- a/lib/versions/v1/Model/OrganizationFollowerPostResponse.php +++ b/lib/versions/v1/Model/OrganizationFollowerPostResponse.php @@ -2,7 +2,7 @@ /** * OrganizationFollowerPostResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationFollowersListResponse.php b/lib/versions/v1/Model/OrganizationFollowersListResponse.php index 7eb58d17..1345df87 100644 --- a/lib/versions/v1/Model/OrganizationFollowersListResponse.php +++ b/lib/versions/v1/Model/OrganizationFollowersListResponse.php @@ -2,7 +2,7 @@ /** * OrganizationFollowersListResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationship.php b/lib/versions/v1/Model/OrganizationRelationship.php index 8791dbfc..42f6a992 100644 --- a/lib/versions/v1/Model/OrganizationRelationship.php +++ b/lib/versions/v1/Model/OrganizationRelationship.php @@ -2,7 +2,7 @@ /** * OrganizationRelationship * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -229,7 +229,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = $data['org_id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponse.php b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponse.php index f86f6a85..8871303c 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponse.php +++ b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponse.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipDeleteResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOf.php b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOf.php index 36378349..eb683435 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOf.php +++ b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipDeleteResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOfData.php b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOfData.php index 22ad27bb..a6794426 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOfData.php +++ b/lib/versions/v1/Model/OrganizationRelationshipDeleteResponseAllOfData.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipDeleteResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/OrganizationRelationshipDetails.php b/lib/versions/v1/Model/OrganizationRelationshipDetails.php index ea0036ab..4bcfa3dc 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipDetails.php +++ b/lib/versions/v1/Model/OrganizationRelationshipDetails.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipDetails * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipGetResponse.php b/lib/versions/v1/Model/OrganizationRelationshipGetResponse.php index c0cddeef..62c5c91c 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipGetResponse.php +++ b/lib/versions/v1/Model/OrganizationRelationshipGetResponse.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipGetResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipGetResponseAllOf.php b/lib/versions/v1/Model/OrganizationRelationshipGetResponseAllOf.php index babfd5aa..d8bb9ee9 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipGetResponseAllOf.php +++ b/lib/versions/v1/Model/OrganizationRelationshipGetResponseAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipGetResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['related_objects'] = $data['related_objects'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipPostResponse.php b/lib/versions/v1/Model/OrganizationRelationshipPostResponse.php index f6a2e182..1e014663 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipPostResponse.php +++ b/lib/versions/v1/Model/OrganizationRelationshipPostResponse.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipPostResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipPostResponseAllOf.php b/lib/versions/v1/Model/OrganizationRelationshipPostResponseAllOf.php index 6736cb25..75e8d347 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipPostResponseAllOf.php +++ b/lib/versions/v1/Model/OrganizationRelationshipPostResponseAllOf.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipPostResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['related_objects'] = $data['related_objects'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipUpdateResponse.php b/lib/versions/v1/Model/OrganizationRelationshipUpdateResponse.php index fcc94749..7b6769bc 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipUpdateResponse.php +++ b/lib/versions/v1/Model/OrganizationRelationshipUpdateResponse.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipUpdateResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationRelationshipWithCalculatedFields.php b/lib/versions/v1/Model/OrganizationRelationshipWithCalculatedFields.php index 36dbf7a3..49c07d91 100644 --- a/lib/versions/v1/Model/OrganizationRelationshipWithCalculatedFields.php +++ b/lib/versions/v1/Model/OrganizationRelationshipWithCalculatedFields.php @@ -2,7 +2,7 @@ /** * OrganizationRelationshipWithCalculatedFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationsMergeResponse.php b/lib/versions/v1/Model/OrganizationsMergeResponse.php index e99512d7..2e018a8a 100644 --- a/lib/versions/v1/Model/OrganizationsMergeResponse.php +++ b/lib/versions/v1/Model/OrganizationsMergeResponse.php @@ -2,7 +2,7 @@ /** * OrganizationsMergeResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/OrganizationsMergeResponseData.php b/lib/versions/v1/Model/OrganizationsMergeResponseData.php index 404280b8..f558e2de 100644 --- a/lib/versions/v1/Model/OrganizationsMergeResponseData.php +++ b/lib/versions/v1/Model/OrganizationsMergeResponseData.php @@ -2,7 +2,7 @@ /** * OrganizationsMergeResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/Owner.php b/lib/versions/v1/Model/Owner.php index a275a4fa..62692550 100644 --- a/lib/versions/v1/Model/Owner.php +++ b/lib/versions/v1/Model/Owner.php @@ -2,7 +2,7 @@ /** * Owner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/OwnerAllOf.php b/lib/versions/v1/Model/OwnerAllOf.php index df9486f0..db5c51f8 100644 --- a/lib/versions/v1/Model/OwnerAllOf.php +++ b/lib/versions/v1/Model/OwnerAllOf.php @@ -2,7 +2,7 @@ /** * OwnerAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/PaginationDetails.php b/lib/versions/v1/Model/PaginationDetails.php index 9169ff90..146cf7c6 100644 --- a/lib/versions/v1/Model/PaginationDetails.php +++ b/lib/versions/v1/Model/PaginationDetails.php @@ -2,7 +2,7 @@ /** * PaginationDetails * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start'] = $data['start'] ?? null; $this->container['limit'] = $data['limit'] ?? null; diff --git a/lib/versions/v1/Model/PaginationDetailsAllOf.php b/lib/versions/v1/Model/PaginationDetailsAllOf.php index b7600db5..756bfd6f 100644 --- a/lib/versions/v1/Model/PaginationDetailsAllOf.php +++ b/lib/versions/v1/Model/PaginationDetailsAllOf.php @@ -2,7 +2,7 @@ /** * PaginationDetailsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_start'] = $data['next_start'] ?? null; } diff --git a/lib/versions/v1/Model/Params.php b/lib/versions/v1/Model/Params.php index a1743eac..8232139b 100644 --- a/lib/versions/v1/Model/Params.php +++ b/lib/versions/v1/Model/Params.php @@ -2,7 +2,7 @@ /** * Params * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pipeline_id'] = $data['pipeline_id'] ?? null; $this->container['activity_type_id'] = $data['activity_type_id'] ?? null; diff --git a/lib/versions/v1/Model/ParticipantsChangelog.php b/lib/versions/v1/Model/ParticipantsChangelog.php index acccf80c..c4b9a76d 100644 --- a/lib/versions/v1/Model/ParticipantsChangelog.php +++ b/lib/versions/v1/Model/ParticipantsChangelog.php @@ -2,7 +2,7 @@ /** * ParticipantsChangelog * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/ParticipantsChangelogItem.php b/lib/versions/v1/Model/ParticipantsChangelogItem.php index 41c9570a..1f97cd39 100644 --- a/lib/versions/v1/Model/ParticipantsChangelogItem.php +++ b/lib/versions/v1/Model/ParticipantsChangelogItem.php @@ -2,7 +2,7 @@ /** * ParticipantsChangelogItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['actor_user_id'] = $data['actor_user_id'] ?? null; $this->container['person_id'] = $data['person_id'] ?? null; diff --git a/lib/versions/v1/Model/PermissionSets.php b/lib/versions/v1/Model/PermissionSets.php index 6ae5743b..9f4b6f8f 100644 --- a/lib/versions/v1/Model/PermissionSets.php +++ b/lib/versions/v1/Model/PermissionSets.php @@ -2,7 +2,7 @@ /** * PermissionSets * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PermissionSetsAllOf.php b/lib/versions/v1/Model/PermissionSetsAllOf.php index 7a982af2..b5e60a4d 100644 --- a/lib/versions/v1/Model/PermissionSetsAllOf.php +++ b/lib/versions/v1/Model/PermissionSetsAllOf.php @@ -2,7 +2,7 @@ /** * PermissionSetsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/PermissionSetsItem.php b/lib/versions/v1/Model/PermissionSetsItem.php index e9f611da..30f40999 100644 --- a/lib/versions/v1/Model/PermissionSetsItem.php +++ b/lib/versions/v1/Model/PermissionSetsItem.php @@ -2,7 +2,7 @@ /** * PermissionSetsItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -266,7 +266,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/PersonCountAndEmailInfo.php b/lib/versions/v1/Model/PersonCountAndEmailInfo.php index 65200078..2cbc00f9 100644 --- a/lib/versions/v1/Model/PersonCountAndEmailInfo.php +++ b/lib/versions/v1/Model/PersonCountAndEmailInfo.php @@ -2,7 +2,7 @@ /** * PersonCountAndEmailInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -237,7 +237,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['activities_count'] = $data['activities_count'] ?? null; diff --git a/lib/versions/v1/Model/PersonCountEmailDealAndActivityInfo.php b/lib/versions/v1/Model/PersonCountEmailDealAndActivityInfo.php index bfef7238..996f15d2 100644 --- a/lib/versions/v1/Model/PersonCountEmailDealAndActivityInfo.php +++ b/lib/versions/v1/Model/PersonCountEmailDealAndActivityInfo.php @@ -2,7 +2,7 @@ /** * PersonCountEmailDealAndActivityInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -302,7 +302,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['activities_count'] = $data['activities_count'] ?? null; diff --git a/lib/versions/v1/Model/PersonCountInfo.php b/lib/versions/v1/Model/PersonCountInfo.php index 436b55f1..743ff0d1 100644 --- a/lib/versions/v1/Model/PersonCountInfo.php +++ b/lib/versions/v1/Model/PersonCountInfo.php @@ -2,7 +2,7 @@ /** * PersonCountInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_messages_count'] = $data['email_messages_count'] ?? null; $this->container['activities_count'] = $data['activities_count'] ?? null; diff --git a/lib/versions/v1/Model/PersonData.php b/lib/versions/v1/Model/PersonData.php index b7adaa82..9f35e7bf 100644 --- a/lib/versions/v1/Model/PersonData.php +++ b/lib/versions/v1/Model/PersonData.php @@ -2,7 +2,7 @@ /** * PersonData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/PersonDataEmail.php b/lib/versions/v1/Model/PersonDataEmail.php index d3764c93..ac1f8a0a 100644 --- a/lib/versions/v1/Model/PersonDataEmail.php +++ b/lib/versions/v1/Model/PersonDataEmail.php @@ -2,7 +2,7 @@ /** * PersonDataEmail * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/PersonDataWithActiveFlag.php b/lib/versions/v1/Model/PersonDataWithActiveFlag.php index 7cabfeb2..86043b05 100644 --- a/lib/versions/v1/Model/PersonDataWithActiveFlag.php +++ b/lib/versions/v1/Model/PersonDataWithActiveFlag.php @@ -2,7 +2,7 @@ /** * PersonDataWithActiveFlag * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/PersonDataWithActiveFlagAllOf.php b/lib/versions/v1/Model/PersonDataWithActiveFlagAllOf.php index 8170511f..f5dce293 100644 --- a/lib/versions/v1/Model/PersonDataWithActiveFlagAllOf.php +++ b/lib/versions/v1/Model/PersonDataWithActiveFlagAllOf.php @@ -2,7 +2,7 @@ /** * PersonDataWithActiveFlagAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; } diff --git a/lib/versions/v1/Model/PersonFlowResponse.php b/lib/versions/v1/Model/PersonFlowResponse.php index 042d0295..f3be2c97 100644 --- a/lib/versions/v1/Model/PersonFlowResponse.php +++ b/lib/versions/v1/Model/PersonFlowResponse.php @@ -2,7 +2,7 @@ /** * PersonFlowResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PersonFlowResponseAllOf.php b/lib/versions/v1/Model/PersonFlowResponseAllOf.php index ed1718aa..90aa737d 100644 --- a/lib/versions/v1/Model/PersonFlowResponseAllOf.php +++ b/lib/versions/v1/Model/PersonFlowResponseAllOf.php @@ -2,7 +2,7 @@ /** * PersonFlowResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v1/Model/PersonFlowResponseAllOfData.php b/lib/versions/v1/Model/PersonFlowResponseAllOfData.php index 6940aa23..fdd44e86 100644 --- a/lib/versions/v1/Model/PersonFlowResponseAllOfData.php +++ b/lib/versions/v1/Model/PersonFlowResponseAllOfData.php @@ -2,7 +2,7 @@ /** * PersonFlowResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/lib/versions/v1/Model/PersonItem.php b/lib/versions/v1/Model/PersonItem.php index 35f36b9a..b076c8a0 100644 --- a/lib/versions/v1/Model/PersonItem.php +++ b/lib/versions/v1/Model/PersonItem.php @@ -2,7 +2,7 @@ /** * PersonItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -402,7 +402,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/PersonListProduct.php b/lib/versions/v1/Model/PersonListProduct.php index c4c6573a..244aaddb 100644 --- a/lib/versions/v1/Model/PersonListProduct.php +++ b/lib/versions/v1/Model/PersonListProduct.php @@ -2,7 +2,7 @@ /** * PersonListProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -277,7 +277,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/PersonNameCountAndEmailInfo.php b/lib/versions/v1/Model/PersonNameCountAndEmailInfo.php index 33bf356e..6616124f 100644 --- a/lib/versions/v1/Model/PersonNameCountAndEmailInfo.php +++ b/lib/versions/v1/Model/PersonNameCountAndEmailInfo.php @@ -2,7 +2,7 @@ /** * PersonNameCountAndEmailInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['first_name'] = $data['first_name'] ?? null; diff --git a/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIds.php b/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIds.php index 2e895a6c..e9df4e89 100644 --- a/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIds.php +++ b/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIds.php @@ -2,7 +2,7 @@ /** * PersonNameCountAndEmailInfoWithIds * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIdsAllOf.php b/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIdsAllOf.php index 8c9a2cd8..4691cf02 100644 --- a/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIdsAllOf.php +++ b/lib/versions/v1/Model/PersonNameCountAndEmailInfoWithIdsAllOf.php @@ -2,7 +2,7 @@ /** * PersonNameCountAndEmailInfoWithIdsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/PersonNameInfo.php b/lib/versions/v1/Model/PersonNameInfo.php index 23195c2a..a9645b7d 100644 --- a/lib/versions/v1/Model/PersonNameInfo.php +++ b/lib/versions/v1/Model/PersonNameInfo.php @@ -2,7 +2,7 @@ /** * PersonNameInfo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['first_name'] = $data['first_name'] ?? null; diff --git a/lib/versions/v1/Model/PersonNameInfoWithOrgAndOwnerId.php b/lib/versions/v1/Model/PersonNameInfoWithOrgAndOwnerId.php index dcf0218e..833ab747 100644 --- a/lib/versions/v1/Model/PersonNameInfoWithOrgAndOwnerId.php +++ b/lib/versions/v1/Model/PersonNameInfoWithOrgAndOwnerId.php @@ -2,7 +2,7 @@ /** * PersonNameInfoWithOrgAndOwnerId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['owner_id'] = $data['owner_id'] ?? null; $this->container['org_id'] = $data['org_id'] ?? null; diff --git a/lib/versions/v1/Model/PhoneData.php b/lib/versions/v1/Model/PhoneData.php index 4a15258b..bd06a754 100644 --- a/lib/versions/v1/Model/PhoneData.php +++ b/lib/versions/v1/Model/PhoneData.php @@ -2,7 +2,7 @@ /** * PhoneData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/lib/versions/v1/Model/PictureData.php b/lib/versions/v1/Model/PictureData.php index e33cb89a..e1a5ed49 100644 --- a/lib/versions/v1/Model/PictureData.php +++ b/lib/versions/v1/Model/PictureData.php @@ -2,7 +2,7 @@ /** * PictureData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item_type'] = $data['item_type'] ?? null; $this->container['item_id'] = $data['item_id'] ?? null; diff --git a/lib/versions/v1/Model/PictureDataWithID.php b/lib/versions/v1/Model/PictureDataWithID.php index 8bda694d..b6bb2265 100644 --- a/lib/versions/v1/Model/PictureDataWithID.php +++ b/lib/versions/v1/Model/PictureDataWithID.php @@ -2,7 +2,7 @@ /** * PictureDataWithID * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['item_type'] = $data['item_type'] ?? null; diff --git a/lib/versions/v1/Model/PictureDataWithID1.php b/lib/versions/v1/Model/PictureDataWithID1.php index 7f3226ee..e786c20a 100644 --- a/lib/versions/v1/Model/PictureDataWithID1.php +++ b/lib/versions/v1/Model/PictureDataWithID1.php @@ -2,7 +2,7 @@ /** * PictureDataWithID1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['item_type'] = $data['item_type'] ?? null; diff --git a/lib/versions/v1/Model/PictureDataWithID1Pictures.php b/lib/versions/v1/Model/PictureDataWithID1Pictures.php index 0bcf3cef..f2272acb 100644 --- a/lib/versions/v1/Model/PictureDataWithID1Pictures.php +++ b/lib/versions/v1/Model/PictureDataWithID1Pictures.php @@ -2,7 +2,7 @@ /** * PictureDataWithID1Pictures * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['_128'] = $data['_128'] ?? null; $this->container['_512'] = $data['_512'] ?? null; diff --git a/lib/versions/v1/Model/PictureDataWithID2.php b/lib/versions/v1/Model/PictureDataWithID2.php index f1d24dac..d12ed8ea 100644 --- a/lib/versions/v1/Model/PictureDataWithID2.php +++ b/lib/versions/v1/Model/PictureDataWithID2.php @@ -2,7 +2,7 @@ /** * PictureDataWithID2 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/PictureDataWithValue.php b/lib/versions/v1/Model/PictureDataWithValue.php index a7de51a1..c20c340c 100644 --- a/lib/versions/v1/Model/PictureDataWithValue.php +++ b/lib/versions/v1/Model/PictureDataWithValue.php @@ -2,7 +2,7 @@ /** * PictureDataWithValue * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['item_type'] = $data['item_type'] ?? null; diff --git a/lib/versions/v1/Model/PictureDataWithValue1.php b/lib/versions/v1/Model/PictureDataWithValue1.php index 27906fd9..e4f4a290 100644 --- a/lib/versions/v1/Model/PictureDataWithValue1.php +++ b/lib/versions/v1/Model/PictureDataWithValue1.php @@ -2,7 +2,7 @@ /** * PictureDataWithValue1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/PostComment.php b/lib/versions/v1/Model/PostComment.php index 210029e4..04f933c5 100644 --- a/lib/versions/v1/Model/PostComment.php +++ b/lib/versions/v1/Model/PostComment.php @@ -2,7 +2,7 @@ /** * PostComment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostDealParticipants.php b/lib/versions/v1/Model/PostDealParticipants.php index 7994ea0c..d8ec8e54 100644 --- a/lib/versions/v1/Model/PostDealParticipants.php +++ b/lib/versions/v1/Model/PostDealParticipants.php @@ -2,7 +2,7 @@ /** * PostDealParticipants * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostDealParticipantsRelatedObjects.php b/lib/versions/v1/Model/PostDealParticipantsRelatedObjects.php index 968008ba..7a97f971 100644 --- a/lib/versions/v1/Model/PostDealParticipantsRelatedObjects.php +++ b/lib/versions/v1/Model/PostDealParticipantsRelatedObjects.php @@ -2,7 +2,7 @@ /** * PostDealParticipantsRelatedObjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user'] = $data['user'] ?? null; $this->container['person'] = $data['person'] ?? null; diff --git a/lib/versions/v1/Model/PostGoalResponse.php b/lib/versions/v1/Model/PostGoalResponse.php index 2b9a9569..8e05f5e2 100644 --- a/lib/versions/v1/Model/PostGoalResponse.php +++ b/lib/versions/v1/Model/PostGoalResponse.php @@ -2,7 +2,7 @@ /** * PostGoalResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['goal'] = $data['goal'] ?? null; } diff --git a/lib/versions/v1/Model/PostNote.php b/lib/versions/v1/Model/PostNote.php index f141a52b..53f78cea 100644 --- a/lib/versions/v1/Model/PostNote.php +++ b/lib/versions/v1/Model/PostNote.php @@ -2,7 +2,7 @@ /** * PostNote * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostRoleAssignment.php b/lib/versions/v1/Model/PostRoleAssignment.php index 20bb7e74..9c2cafca 100644 --- a/lib/versions/v1/Model/PostRoleAssignment.php +++ b/lib/versions/v1/Model/PostRoleAssignment.php @@ -2,7 +2,7 @@ /** * PostRoleAssignment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostRoleSettings.php b/lib/versions/v1/Model/PostRoleSettings.php index be8d57f1..34acccde 100644 --- a/lib/versions/v1/Model/PostRoleSettings.php +++ b/lib/versions/v1/Model/PostRoleSettings.php @@ -2,7 +2,7 @@ /** * PostRoleSettings * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostRoles.php b/lib/versions/v1/Model/PostRoles.php index d5280524..f98458e6 100644 --- a/lib/versions/v1/Model/PostRoles.php +++ b/lib/versions/v1/Model/PostRoles.php @@ -2,7 +2,7 @@ /** * PostRoles * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PostRolesAllOf.php b/lib/versions/v1/Model/PostRolesAllOf.php index 3533f6c2..da276016 100644 --- a/lib/versions/v1/Model/PostRolesAllOf.php +++ b/lib/versions/v1/Model/PostRolesAllOf.php @@ -2,7 +2,7 @@ /** * PostRolesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/ProductBaseDeal.php b/lib/versions/v1/Model/ProductBaseDeal.php index c9ee84ca..95ee1f3c 100644 --- a/lib/versions/v1/Model/ProductBaseDeal.php +++ b/lib/versions/v1/Model/ProductBaseDeal.php @@ -2,7 +2,7 @@ /** * ProductBaseDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -407,7 +407,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['company_id'] = $data['company_id'] ?? null; diff --git a/lib/versions/v1/Model/ProductField.php b/lib/versions/v1/Model/ProductField.php index 8f6e1031..1e5c3147 100644 --- a/lib/versions/v1/Model/ProductField.php +++ b/lib/versions/v1/Model/ProductField.php @@ -2,7 +2,7 @@ /** * ProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -332,7 +332,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/ProductFieldAllOf.php b/lib/versions/v1/Model/ProductFieldAllOf.php index d6475572..821aa19f 100644 --- a/lib/versions/v1/Model/ProductFieldAllOf.php +++ b/lib/versions/v1/Model/ProductFieldAllOf.php @@ -2,7 +2,7 @@ /** * ProductFieldAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -272,7 +272,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['key'] = $data['key'] ?? null; diff --git a/lib/versions/v1/Model/ProductFileItem.php b/lib/versions/v1/Model/ProductFileItem.php index 3ede9d7f..f23eb060 100644 --- a/lib/versions/v1/Model/ProductFileItem.php +++ b/lib/versions/v1/Model/ProductFileItem.php @@ -2,7 +2,7 @@ /** * ProductFileItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -268,7 +268,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['product_id'] = $data['product_id'] ?? null; diff --git a/lib/versions/v1/Model/ProjectBoardObject.php b/lib/versions/v1/Model/ProjectBoardObject.php index 5b42b6e3..1e00baf6 100644 --- a/lib/versions/v1/Model/ProjectBoardObject.php +++ b/lib/versions/v1/Model/ProjectBoardObject.php @@ -2,7 +2,7 @@ /** * ProjectBoardObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/ProjectGroupsObject.php b/lib/versions/v1/Model/ProjectGroupsObject.php index 6caf453c..916519e5 100644 --- a/lib/versions/v1/Model/ProjectGroupsObject.php +++ b/lib/versions/v1/Model/ProjectGroupsObject.php @@ -2,7 +2,7 @@ /** * ProjectGroupsObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/ProjectId.php b/lib/versions/v1/Model/ProjectId.php index 203bac5f..5dfa7204 100644 --- a/lib/versions/v1/Model/ProjectId.php +++ b/lib/versions/v1/Model/ProjectId.php @@ -2,7 +2,7 @@ /** * ProjectId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/ProjectMandatoryObjectFragment.php b/lib/versions/v1/Model/ProjectMandatoryObjectFragment.php index 1c0c4b60..ff79ba20 100644 --- a/lib/versions/v1/Model/ProjectMandatoryObjectFragment.php +++ b/lib/versions/v1/Model/ProjectMandatoryObjectFragment.php @@ -2,7 +2,7 @@ /** * ProjectMandatoryObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; } diff --git a/lib/versions/v1/Model/ProjectNotChangeableObjectFragment.php b/lib/versions/v1/Model/ProjectNotChangeableObjectFragment.php index 56972763..a91e7af9 100644 --- a/lib/versions/v1/Model/ProjectNotChangeableObjectFragment.php +++ b/lib/versions/v1/Model/ProjectNotChangeableObjectFragment.php @@ -2,7 +2,7 @@ /** * ProjectNotChangeableObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_time'] = $data['add_time'] ?? null; $this->container['update_time'] = $data['update_time'] ?? null; diff --git a/lib/versions/v1/Model/ProjectObjectFragment.php b/lib/versions/v1/Model/ProjectObjectFragment.php index 85af55ae..b6d11148 100644 --- a/lib/versions/v1/Model/ProjectObjectFragment.php +++ b/lib/versions/v1/Model/ProjectObjectFragment.php @@ -2,7 +2,7 @@ /** * ProjectObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -247,7 +247,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['board_id'] = $data['board_id'] ?? null; $this->container['phase_id'] = $data['phase_id'] ?? null; diff --git a/lib/versions/v1/Model/ProjectPhaseObject.php b/lib/versions/v1/Model/ProjectPhaseObject.php index c420481a..d0c98d1a 100644 --- a/lib/versions/v1/Model/ProjectPhaseObject.php +++ b/lib/versions/v1/Model/ProjectPhaseObject.php @@ -2,7 +2,7 @@ /** * ProjectPhaseObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/ProjectPlanItemObject.php b/lib/versions/v1/Model/ProjectPlanItemObject.php index d21ecbb0..bf061e30 100644 --- a/lib/versions/v1/Model/ProjectPlanItemObject.php +++ b/lib/versions/v1/Model/ProjectPlanItemObject.php @@ -2,7 +2,7 @@ /** * ProjectPlanItemObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item_id'] = $data['item_id'] ?? null; $this->container['item_type'] = $data['item_type'] ?? null; diff --git a/lib/versions/v1/Model/ProjectPostObject.php b/lib/versions/v1/Model/ProjectPostObject.php index 44daf36e..af245d3d 100644 --- a/lib/versions/v1/Model/ProjectPostObject.php +++ b/lib/versions/v1/Model/ProjectPostObject.php @@ -2,7 +2,7 @@ /** * ProjectPostObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['board_id'] = $data['board_id'] ?? null; diff --git a/lib/versions/v1/Model/ProjectPostObjectAllOf.php b/lib/versions/v1/Model/ProjectPostObjectAllOf.php index 0d5dce9f..5177ead3 100644 --- a/lib/versions/v1/Model/ProjectPostObjectAllOf.php +++ b/lib/versions/v1/Model/ProjectPostObjectAllOf.php @@ -2,7 +2,7 @@ /** * ProjectPostObjectAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['template_id'] = $data['template_id'] ?? null; } diff --git a/lib/versions/v1/Model/ProjectPutObject.php b/lib/versions/v1/Model/ProjectPutObject.php index 15767ab4..2b640aa0 100644 --- a/lib/versions/v1/Model/ProjectPutObject.php +++ b/lib/versions/v1/Model/ProjectPutObject.php @@ -2,7 +2,7 @@ /** * ProjectPutObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['board_id'] = $data['board_id'] ?? null; diff --git a/lib/versions/v1/Model/ProjectPutPlanItemBodyObject.php b/lib/versions/v1/Model/ProjectPutPlanItemBodyObject.php index 7a7f3ed5..a48f7015 100644 --- a/lib/versions/v1/Model/ProjectPutPlanItemBodyObject.php +++ b/lib/versions/v1/Model/ProjectPutPlanItemBodyObject.php @@ -2,7 +2,7 @@ /** * ProjectPutPlanItemBodyObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['phase_id'] = $data['phase_id'] ?? null; $this->container['group_id'] = $data['group_id'] ?? null; diff --git a/lib/versions/v1/Model/ProjectResponseObject.php b/lib/versions/v1/Model/ProjectResponseObject.php index cc6415de..73b6ff69 100644 --- a/lib/versions/v1/Model/ProjectResponseObject.php +++ b/lib/versions/v1/Model/ProjectResponseObject.php @@ -2,7 +2,7 @@ /** * ProjectResponseObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -277,7 +277,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/PutRole.php b/lib/versions/v1/Model/PutRole.php index 2154be0a..5f99d21a 100644 --- a/lib/versions/v1/Model/PutRole.php +++ b/lib/versions/v1/Model/PutRole.php @@ -2,7 +2,7 @@ /** * PutRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/PutRoleAllOf.php b/lib/versions/v1/Model/PutRoleAllOf.php index 9a03719e..0a168b95 100644 --- a/lib/versions/v1/Model/PutRoleAllOf.php +++ b/lib/versions/v1/Model/PutRoleAllOf.php @@ -2,7 +2,7 @@ /** * PutRoleAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/PutRolePipelinesBody.php b/lib/versions/v1/Model/PutRolePipelinesBody.php index 55b3637c..d6a1783b 100644 --- a/lib/versions/v1/Model/PutRolePipelinesBody.php +++ b/lib/versions/v1/Model/PutRolePipelinesBody.php @@ -2,7 +2,7 @@ /** * PutRolePipelinesBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['visible_pipeline_ids'] = $data['visible_pipeline_ids'] ?? null; } diff --git a/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponse.php b/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponse.php index e1f2bc3b..a93915b3 100644 --- a/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponse.php +++ b/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponse.php @@ -2,7 +2,7 @@ /** * ReceiveMessageBadRequestErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponseAdditionalData.php b/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponseAdditionalData.php index 454e81bb..7bb0baaa 100644 --- a/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponseAdditionalData.php +++ b/lib/versions/v1/Model/ReceiveMessageBadRequestErrorResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * ReceiveMessageBadRequestErrorResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; } diff --git a/lib/versions/v1/Model/RecentDataProduct.php b/lib/versions/v1/Model/RecentDataProduct.php index 570faede..548440d7 100644 --- a/lib/versions/v1/Model/RecentDataProduct.php +++ b/lib/versions/v1/Model/RecentDataProduct.php @@ -2,7 +2,7 @@ /** * RecentDataProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -272,7 +272,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/RecentsActivity.php b/lib/versions/v1/Model/RecentsActivity.php index 10a3de1c..8852a3b1 100644 --- a/lib/versions/v1/Model/RecentsActivity.php +++ b/lib/versions/v1/Model/RecentsActivity.php @@ -2,7 +2,7 @@ /** * RecentsActivity * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsActivityType.php b/lib/versions/v1/Model/RecentsActivityType.php index 7b664894..59e68ba2 100644 --- a/lib/versions/v1/Model/RecentsActivityType.php +++ b/lib/versions/v1/Model/RecentsActivityType.php @@ -2,7 +2,7 @@ /** * RecentsActivityType * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsDeal.php b/lib/versions/v1/Model/RecentsDeal.php index f28b20c8..92a6fc77 100644 --- a/lib/versions/v1/Model/RecentsDeal.php +++ b/lib/versions/v1/Model/RecentsDeal.php @@ -2,7 +2,7 @@ /** * RecentsDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsFile.php b/lib/versions/v1/Model/RecentsFile.php index f6450680..0053f066 100644 --- a/lib/versions/v1/Model/RecentsFile.php +++ b/lib/versions/v1/Model/RecentsFile.php @@ -2,7 +2,7 @@ /** * RecentsFile * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsFilter.php b/lib/versions/v1/Model/RecentsFilter.php index 3c63ad12..ca11ee6b 100644 --- a/lib/versions/v1/Model/RecentsFilter.php +++ b/lib/versions/v1/Model/RecentsFilter.php @@ -2,7 +2,7 @@ /** * RecentsFilter * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsNote.php b/lib/versions/v1/Model/RecentsNote.php index 2875b93b..f2b75e0f 100644 --- a/lib/versions/v1/Model/RecentsNote.php +++ b/lib/versions/v1/Model/RecentsNote.php @@ -2,7 +2,7 @@ /** * RecentsNote * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsOrganization.php b/lib/versions/v1/Model/RecentsOrganization.php index d58bb13a..a4940671 100644 --- a/lib/versions/v1/Model/RecentsOrganization.php +++ b/lib/versions/v1/Model/RecentsOrganization.php @@ -2,7 +2,7 @@ /** * RecentsOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsPerson.php b/lib/versions/v1/Model/RecentsPerson.php index 2d794b2e..c72f7a61 100644 --- a/lib/versions/v1/Model/RecentsPerson.php +++ b/lib/versions/v1/Model/RecentsPerson.php @@ -2,7 +2,7 @@ /** * RecentsPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsPipeline.php b/lib/versions/v1/Model/RecentsPipeline.php index 36aef9cb..8d60828b 100644 --- a/lib/versions/v1/Model/RecentsPipeline.php +++ b/lib/versions/v1/Model/RecentsPipeline.php @@ -2,7 +2,7 @@ /** * RecentsPipeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsProduct.php b/lib/versions/v1/Model/RecentsProduct.php index 13ed6ca2..eccde592 100644 --- a/lib/versions/v1/Model/RecentsProduct.php +++ b/lib/versions/v1/Model/RecentsProduct.php @@ -2,7 +2,7 @@ /** * RecentsProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsStage.php b/lib/versions/v1/Model/RecentsStage.php index 67854211..28bb2240 100644 --- a/lib/versions/v1/Model/RecentsStage.php +++ b/lib/versions/v1/Model/RecentsStage.php @@ -2,7 +2,7 @@ /** * RecentsStage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RecentsUser.php b/lib/versions/v1/Model/RecentsUser.php index 7d7fa796..a46a02f2 100644 --- a/lib/versions/v1/Model/RecentsUser.php +++ b/lib/versions/v1/Model/RecentsUser.php @@ -2,7 +2,7 @@ /** * RecentsUser * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getItemAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['item'] = $data['item'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/lib/versions/v1/Model/RelatedDealData.php b/lib/versions/v1/Model/RelatedDealData.php index a7e816e6..f363ec21 100644 --- a/lib/versions/v1/Model/RelatedDealData.php +++ b/lib/versions/v1/Model/RelatedDealData.php @@ -2,7 +2,7 @@ /** * RelatedDealData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal_id'] = $data['deal_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedDealDataDEALID.php b/lib/versions/v1/Model/RelatedDealDataDEALID.php index 28e8472c..a75711c6 100644 --- a/lib/versions/v1/Model/RelatedDealDataDEALID.php +++ b/lib/versions/v1/Model/RelatedDealDataDEALID.php @@ -2,7 +2,7 @@ /** * RelatedDealDataDEALID * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/RelatedOrganizationData.php b/lib/versions/v1/Model/RelatedOrganizationData.php index 58ac47c9..8d391f4e 100644 --- a/lib/versions/v1/Model/RelatedOrganizationData.php +++ b/lib/versions/v1/Model/RelatedOrganizationData.php @@ -2,7 +2,7 @@ /** * RelatedOrganizationData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization_id'] = $data['organization_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedOrganizationDataWithActiveFlag.php b/lib/versions/v1/Model/RelatedOrganizationDataWithActiveFlag.php index 4c8a1565..5869353b 100644 --- a/lib/versions/v1/Model/RelatedOrganizationDataWithActiveFlag.php +++ b/lib/versions/v1/Model/RelatedOrganizationDataWithActiveFlag.php @@ -2,7 +2,7 @@ /** * RelatedOrganizationDataWithActiveFlag * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization_id'] = $data['organization_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedOrganizationName.php b/lib/versions/v1/Model/RelatedOrganizationName.php index af74be4c..27e6b819 100644 --- a/lib/versions/v1/Model/RelatedOrganizationName.php +++ b/lib/versions/v1/Model/RelatedOrganizationName.php @@ -2,7 +2,7 @@ /** * RelatedOrganizationName * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['related_organization_name'] = $data['related_organization_name'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedPersonDataWithActiveFlag.php b/lib/versions/v1/Model/RelatedPersonDataWithActiveFlag.php index 33d30263..889eb483 100644 --- a/lib/versions/v1/Model/RelatedPersonDataWithActiveFlag.php +++ b/lib/versions/v1/Model/RelatedPersonDataWithActiveFlag.php @@ -2,7 +2,7 @@ /** * RelatedPersonDataWithActiveFlag * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['person_id'] = $data['person_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedPictureData.php b/lib/versions/v1/Model/RelatedPictureData.php index fc743c18..e0c55f3d 100644 --- a/lib/versions/v1/Model/RelatedPictureData.php +++ b/lib/versions/v1/Model/RelatedPictureData.php @@ -2,7 +2,7 @@ /** * RelatedPictureData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['picture_id'] = $data['picture_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelatedUserData.php b/lib/versions/v1/Model/RelatedUserData.php index 45d26576..0f603d54 100644 --- a/lib/versions/v1/Model/RelatedUserData.php +++ b/lib/versions/v1/Model/RelatedUserData.php @@ -2,7 +2,7 @@ /** * RelatedUserData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v1/Model/RelationshipOrganizationInfoItem.php b/lib/versions/v1/Model/RelationshipOrganizationInfoItem.php index 77557dc5..afebf939 100644 --- a/lib/versions/v1/Model/RelationshipOrganizationInfoItem.php +++ b/lib/versions/v1/Model/RelationshipOrganizationInfoItem.php @@ -2,7 +2,7 @@ /** * RelationshipOrganizationInfoItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/RelationshipOrganizationInfoItemAllOf.php b/lib/versions/v1/Model/RelationshipOrganizationInfoItemAllOf.php index 91df0252..a0ab877b 100644 --- a/lib/versions/v1/Model/RelationshipOrganizationInfoItemAllOf.php +++ b/lib/versions/v1/Model/RelationshipOrganizationInfoItemAllOf.php @@ -2,7 +2,7 @@ /** * RelationshipOrganizationInfoItemAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; } diff --git a/lib/versions/v1/Model/RelationshipOrganizationInfoItemWithActiveFlag.php b/lib/versions/v1/Model/RelationshipOrganizationInfoItemWithActiveFlag.php index cd117c1b..0d4eb74a 100644 --- a/lib/versions/v1/Model/RelationshipOrganizationInfoItemWithActiveFlag.php +++ b/lib/versions/v1/Model/RelationshipOrganizationInfoItemWithActiveFlag.php @@ -2,7 +2,7 @@ /** * RelationshipOrganizationInfoItemWithActiveFlag * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['people_count'] = $data['people_count'] ?? null; diff --git a/lib/versions/v1/Model/RequiredPostProjectParameters.php b/lib/versions/v1/Model/RequiredPostProjectParameters.php index b0ff4b04..de7dc74c 100644 --- a/lib/versions/v1/Model/RequiredPostProjectParameters.php +++ b/lib/versions/v1/Model/RequiredPostProjectParameters.php @@ -2,7 +2,7 @@ /** * RequiredPostProjectParameters * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; } diff --git a/lib/versions/v1/Model/RequiredPostTaskParameters.php b/lib/versions/v1/Model/RequiredPostTaskParameters.php index 11f4fb62..986f60d0 100644 --- a/lib/versions/v1/Model/RequiredPostTaskParameters.php +++ b/lib/versions/v1/Model/RequiredPostTaskParameters.php @@ -2,7 +2,7 @@ /** * RequiredPostTaskParameters * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v1/Model/ResponseCallLogObject.php b/lib/versions/v1/Model/ResponseCallLogObject.php index d34d18a4..352ff155 100644 --- a/lib/versions/v1/Model/ResponseCallLogObject.php +++ b/lib/versions/v1/Model/ResponseCallLogObject.php @@ -2,7 +2,7 @@ /** * ResponseCallLogObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -302,7 +302,7 @@ public function getOutcomeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['activity_id'] = $data['activity_id'] ?? null; diff --git a/lib/versions/v1/Model/ResponseCallLogObjectAllOf.php b/lib/versions/v1/Model/ResponseCallLogObjectAllOf.php index 6abc7d4a..e573cf5e 100644 --- a/lib/versions/v1/Model/ResponseCallLogObjectAllOf.php +++ b/lib/versions/v1/Model/ResponseCallLogObjectAllOf.php @@ -2,7 +2,7 @@ /** * ResponseCallLogObjectAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['has_recording'] = $data['has_recording'] ?? null; diff --git a/lib/versions/v1/Model/RoleAssignment.php b/lib/versions/v1/Model/RoleAssignment.php index b5264184..02f4732c 100644 --- a/lib/versions/v1/Model/RoleAssignment.php +++ b/lib/versions/v1/Model/RoleAssignment.php @@ -2,7 +2,7 @@ /** * RoleAssignment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['parent_role_id'] = $data['parent_role_id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/RoleAssignmentData.php b/lib/versions/v1/Model/RoleAssignmentData.php index 0e010391..cc75bd0c 100644 --- a/lib/versions/v1/Model/RoleAssignmentData.php +++ b/lib/versions/v1/Model/RoleAssignmentData.php @@ -2,7 +2,7 @@ /** * RoleAssignmentData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['role_id'] = $data['role_id'] ?? null; diff --git a/lib/versions/v1/Model/RoleSettings.php b/lib/versions/v1/Model/RoleSettings.php index 9794c1a0..7afe2ecd 100644 --- a/lib/versions/v1/Model/RoleSettings.php +++ b/lib/versions/v1/Model/RoleSettings.php @@ -2,7 +2,7 @@ /** * RoleSettings * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -238,7 +238,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deal_default_visibility'] = $data['deal_default_visibility'] ?? null; $this->container['lead_default_visibility'] = $data['lead_default_visibility'] ?? null; diff --git a/lib/versions/v1/Model/RolesAdditionalData.php b/lib/versions/v1/Model/RolesAdditionalData.php index ae45ca2d..d8fd0455 100644 --- a/lib/versions/v1/Model/RolesAdditionalData.php +++ b/lib/versions/v1/Model/RolesAdditionalData.php @@ -2,7 +2,7 @@ /** * RolesAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['pagination'] = $data['pagination'] ?? null; } diff --git a/lib/versions/v1/Model/RolesAdditionalDataPagination.php b/lib/versions/v1/Model/RolesAdditionalDataPagination.php index 3d092093..5af7199f 100644 --- a/lib/versions/v1/Model/RolesAdditionalDataPagination.php +++ b/lib/versions/v1/Model/RolesAdditionalDataPagination.php @@ -2,7 +2,7 @@ /** * RolesAdditionalDataPagination * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -208,7 +208,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start'] = $data['start'] ?? null; $this->container['limit'] = $data['limit'] ?? null; diff --git a/lib/versions/v1/Model/SinglePermissionSetsItem.php b/lib/versions/v1/Model/SinglePermissionSetsItem.php index 66955076..92b03fde 100644 --- a/lib/versions/v1/Model/SinglePermissionSetsItem.php +++ b/lib/versions/v1/Model/SinglePermissionSetsItem.php @@ -2,7 +2,7 @@ /** * SinglePermissionSetsItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -271,7 +271,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/SinglePermissionSetsItemAllOf.php b/lib/versions/v1/Model/SinglePermissionSetsItemAllOf.php index 9b8e2fa1..4dbf9284 100644 --- a/lib/versions/v1/Model/SinglePermissionSetsItemAllOf.php +++ b/lib/versions/v1/Model/SinglePermissionSetsItemAllOf.php @@ -2,7 +2,7 @@ /** * SinglePermissionSetsItemAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['contents'] = $data['contents'] ?? null; } diff --git a/lib/versions/v1/Model/StageConversions.php b/lib/versions/v1/Model/StageConversions.php index 5bb9279e..ddf94076 100644 --- a/lib/versions/v1/Model/StageConversions.php +++ b/lib/versions/v1/Model/StageConversions.php @@ -2,7 +2,7 @@ /** * StageConversions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from_stage_id'] = $data['from_stage_id'] ?? null; $this->container['to_stage_id'] = $data['to_stage_id'] ?? null; diff --git a/lib/versions/v1/Model/SubRole.php b/lib/versions/v1/Model/SubRole.php index 99581d8a..c8088f9b 100644 --- a/lib/versions/v1/Model/SubRole.php +++ b/lib/versions/v1/Model/SubRole.php @@ -2,7 +2,7 @@ /** * SubRole * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -223,7 +223,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['parent_role_id'] = $data['parent_role_id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/SubRoleAllOf.php b/lib/versions/v1/Model/SubRoleAllOf.php index 7d4316cd..a3932d98 100644 --- a/lib/versions/v1/Model/SubRoleAllOf.php +++ b/lib/versions/v1/Model/SubRoleAllOf.php @@ -2,7 +2,7 @@ /** * SubRoleAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['active_flag'] = $data['active_flag'] ?? null; diff --git a/lib/versions/v1/Model/SubscriptionAddonsResponse.php b/lib/versions/v1/Model/SubscriptionAddonsResponse.php index ec03d2e0..3a708e8a 100644 --- a/lib/versions/v1/Model/SubscriptionAddonsResponse.php +++ b/lib/versions/v1/Model/SubscriptionAddonsResponse.php @@ -2,7 +2,7 @@ /** * SubscriptionAddonsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/SubscriptionAddonsResponseAllOf.php b/lib/versions/v1/Model/SubscriptionAddonsResponseAllOf.php index 27eae576..3a8553b3 100644 --- a/lib/versions/v1/Model/SubscriptionAddonsResponseAllOf.php +++ b/lib/versions/v1/Model/SubscriptionAddonsResponseAllOf.php @@ -2,7 +2,7 @@ /** * SubscriptionAddonsResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/TaskId.php b/lib/versions/v1/Model/TaskId.php index 2061a5e4..a462b50c 100644 --- a/lib/versions/v1/Model/TaskId.php +++ b/lib/versions/v1/Model/TaskId.php @@ -2,7 +2,7 @@ /** * TaskId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/TaskMandatoryObjectFragment.php b/lib/versions/v1/Model/TaskMandatoryObjectFragment.php index a0e5e614..91b90685 100644 --- a/lib/versions/v1/Model/TaskMandatoryObjectFragment.php +++ b/lib/versions/v1/Model/TaskMandatoryObjectFragment.php @@ -2,7 +2,7 @@ /** * TaskMandatoryObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v1/Model/TaskNotChangeableObjectFragment.php b/lib/versions/v1/Model/TaskNotChangeableObjectFragment.php index a4516ab7..65b70bb6 100644 --- a/lib/versions/v1/Model/TaskNotChangeableObjectFragment.php +++ b/lib/versions/v1/Model/TaskNotChangeableObjectFragment.php @@ -2,7 +2,7 @@ /** * TaskNotChangeableObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['creator_id'] = $data['creator_id'] ?? null; $this->container['add_time'] = $data['add_time'] ?? null; diff --git a/lib/versions/v1/Model/TaskObjectFragment.php b/lib/versions/v1/Model/TaskObjectFragment.php index 18d4e44e..90f78f0a 100644 --- a/lib/versions/v1/Model/TaskObjectFragment.php +++ b/lib/versions/v1/Model/TaskObjectFragment.php @@ -2,7 +2,7 @@ /** * TaskObjectFragment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['description'] = $data['description'] ?? null; $this->container['parent_task_id'] = $data['parent_task_id'] ?? null; diff --git a/lib/versions/v1/Model/TaskPostObject.php b/lib/versions/v1/Model/TaskPostObject.php index 80559f82..f4b5a4dc 100644 --- a/lib/versions/v1/Model/TaskPostObject.php +++ b/lib/versions/v1/Model/TaskPostObject.php @@ -2,7 +2,7 @@ /** * TaskPostObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v1/Model/TaskPutObject.php b/lib/versions/v1/Model/TaskPutObject.php index f1d0cf5a..1dac0aba 100644 --- a/lib/versions/v1/Model/TaskPutObject.php +++ b/lib/versions/v1/Model/TaskPutObject.php @@ -2,7 +2,7 @@ /** * TaskPutObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v1/Model/TaskResponseObject.php b/lib/versions/v1/Model/TaskResponseObject.php index 628500b2..64c8d55c 100644 --- a/lib/versions/v1/Model/TaskResponseObject.php +++ b/lib/versions/v1/Model/TaskResponseObject.php @@ -2,7 +2,7 @@ /** * TaskResponseObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/Team.php b/lib/versions/v1/Model/Team.php index 9b8f54db..63fcdda8 100644 --- a/lib/versions/v1/Model/Team.php +++ b/lib/versions/v1/Model/Team.php @@ -2,7 +2,7 @@ /** * Team * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/TeamAllOf.php b/lib/versions/v1/Model/TeamAllOf.php index 769e591f..ab751718 100644 --- a/lib/versions/v1/Model/TeamAllOf.php +++ b/lib/versions/v1/Model/TeamAllOf.php @@ -2,7 +2,7 @@ /** * TeamAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/TeamId.php b/lib/versions/v1/Model/TeamId.php index c329d082..cd1a1f7b 100644 --- a/lib/versions/v1/Model/TeamId.php +++ b/lib/versions/v1/Model/TeamId.php @@ -2,7 +2,7 @@ /** * TeamId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/Teams.php b/lib/versions/v1/Model/Teams.php index 56ee80e6..9a5de4f0 100644 --- a/lib/versions/v1/Model/Teams.php +++ b/lib/versions/v1/Model/Teams.php @@ -2,7 +2,7 @@ /** * Teams * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/TeamsAllOf.php b/lib/versions/v1/Model/TeamsAllOf.php index 30a5657d..312d0ce6 100644 --- a/lib/versions/v1/Model/TeamsAllOf.php +++ b/lib/versions/v1/Model/TeamsAllOf.php @@ -2,7 +2,7 @@ /** * TeamsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/TemplateObject.php b/lib/versions/v1/Model/TemplateObject.php index 1193167b..02dd2e20 100644 --- a/lib/versions/v1/Model/TemplateObject.php +++ b/lib/versions/v1/Model/TemplateObject.php @@ -2,7 +2,7 @@ /** * TemplateObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/TemplateResponseObject.php b/lib/versions/v1/Model/TemplateResponseObject.php index 1348ded8..accce143 100644 --- a/lib/versions/v1/Model/TemplateResponseObject.php +++ b/lib/versions/v1/Model/TemplateResponseObject.php @@ -2,7 +2,7 @@ /** * TemplateResponseObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v1/Model/Unauthorized.php b/lib/versions/v1/Model/Unauthorized.php index 70802207..247e3fa8 100644 --- a/lib/versions/v1/Model/Unauthorized.php +++ b/lib/versions/v1/Model/Unauthorized.php @@ -2,7 +2,7 @@ /** * Unauthorized * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v1/Model/UpdateActivityPlanItemResponse.php b/lib/versions/v1/Model/UpdateActivityPlanItemResponse.php index e724a94c..0b29470a 100644 --- a/lib/versions/v1/Model/UpdateActivityPlanItemResponse.php +++ b/lib/versions/v1/Model/UpdateActivityPlanItemResponse.php @@ -2,7 +2,7 @@ /** * UpdateActivityPlanItemResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpdateFile.php b/lib/versions/v1/Model/UpdateFile.php index fd9efe68..0c5425d9 100644 --- a/lib/versions/v1/Model/UpdateFile.php +++ b/lib/versions/v1/Model/UpdateFile.php @@ -2,7 +2,7 @@ /** * UpdateFile * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpdateFilterRequest.php b/lib/versions/v1/Model/UpdateFilterRequest.php index d58f6013..073cee43 100644 --- a/lib/versions/v1/Model/UpdateFilterRequest.php +++ b/lib/versions/v1/Model/UpdateFilterRequest.php @@ -2,7 +2,7 @@ /** * UpdateFilterRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['conditions'] = $data['conditions'] ?? null; diff --git a/lib/versions/v1/Model/UpdateLeadLabelRequest.php b/lib/versions/v1/Model/UpdateLeadLabelRequest.php index fdfda633..471e0f6a 100644 --- a/lib/versions/v1/Model/UpdateLeadLabelRequest.php +++ b/lib/versions/v1/Model/UpdateLeadLabelRequest.php @@ -2,7 +2,7 @@ /** * UpdateLeadLabelRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['color'] = $data['color'] ?? null; diff --git a/lib/versions/v1/Model/UpdateLeadRequest.php b/lib/versions/v1/Model/UpdateLeadRequest.php index a79b9cc8..090b424b 100644 --- a/lib/versions/v1/Model/UpdateLeadRequest.php +++ b/lib/versions/v1/Model/UpdateLeadRequest.php @@ -2,7 +2,7 @@ /** * UpdateLeadRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v1/Model/UpdateProductField.php b/lib/versions/v1/Model/UpdateProductField.php index aa5ca1d5..d2272793 100644 --- a/lib/versions/v1/Model/UpdateProductField.php +++ b/lib/versions/v1/Model/UpdateProductField.php @@ -2,7 +2,7 @@ /** * UpdateProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['options'] = $data['options'] ?? null; diff --git a/lib/versions/v1/Model/UpdateProjectResponse.php b/lib/versions/v1/Model/UpdateProjectResponse.php index 69f57ab1..32099dca 100644 --- a/lib/versions/v1/Model/UpdateProjectResponse.php +++ b/lib/versions/v1/Model/UpdateProjectResponse.php @@ -2,7 +2,7 @@ /** * UpdateProjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpdateRoleResponseData.php b/lib/versions/v1/Model/UpdateRoleResponseData.php index 40c06265..a8f6c60d 100644 --- a/lib/versions/v1/Model/UpdateRoleResponseData.php +++ b/lib/versions/v1/Model/UpdateRoleResponseData.php @@ -2,7 +2,7 @@ /** * UpdateRoleResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v1/Model/UpdateTaskPlanItemResponse.php b/lib/versions/v1/Model/UpdateTaskPlanItemResponse.php index e7488845..2e5a1759 100644 --- a/lib/versions/v1/Model/UpdateTaskPlanItemResponse.php +++ b/lib/versions/v1/Model/UpdateTaskPlanItemResponse.php @@ -2,7 +2,7 @@ /** * UpdateTaskPlanItemResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpdateTaskResponse.php b/lib/versions/v1/Model/UpdateTaskResponse.php index 355fed83..fb709f73 100644 --- a/lib/versions/v1/Model/UpdateTaskResponse.php +++ b/lib/versions/v1/Model/UpdateTaskResponse.php @@ -2,7 +2,7 @@ /** * UpdateTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpdateTeam.php b/lib/versions/v1/Model/UpdateTeam.php index a9527373..c38db62c 100644 --- a/lib/versions/v1/Model/UpdateTeam.php +++ b/lib/versions/v1/Model/UpdateTeam.php @@ -2,7 +2,7 @@ /** * UpdateTeam * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['description'] = $data['description'] ?? null; diff --git a/lib/versions/v1/Model/UpdateTeamAllOf.php b/lib/versions/v1/Model/UpdateTeamAllOf.php index 24ccef17..0072c713 100644 --- a/lib/versions/v1/Model/UpdateTeamAllOf.php +++ b/lib/versions/v1/Model/UpdateTeamAllOf.php @@ -2,7 +2,7 @@ /** * UpdateTeamAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; $this->container['deleted_flag'] = $data['deleted_flag'] ?? null; diff --git a/lib/versions/v1/Model/UpdateTeamWithAdditionalProperties.php b/lib/versions/v1/Model/UpdateTeamWithAdditionalProperties.php index 78fb2695..e9750f53 100644 --- a/lib/versions/v1/Model/UpdateTeamWithAdditionalProperties.php +++ b/lib/versions/v1/Model/UpdateTeamWithAdditionalProperties.php @@ -2,7 +2,7 @@ /** * UpdateTeamWithAdditionalProperties * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['description'] = $data['description'] ?? null; diff --git a/lib/versions/v1/Model/UpdateUserRequest.php b/lib/versions/v1/Model/UpdateUserRequest.php index b35245b6..4a0dab2e 100644 --- a/lib/versions/v1/Model/UpdateUserRequest.php +++ b/lib/versions/v1/Model/UpdateUserRequest.php @@ -2,7 +2,7 @@ /** * UpdateUserRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active_flag'] = $data['active_flag'] ?? null; } diff --git a/lib/versions/v1/Model/UpsertGoalResponse.php b/lib/versions/v1/Model/UpsertGoalResponse.php index 3eebc032..67a279c4 100644 --- a/lib/versions/v1/Model/UpsertGoalResponse.php +++ b/lib/versions/v1/Model/UpsertGoalResponse.php @@ -2,7 +2,7 @@ /** * UpsertGoalResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpsertLeadLabelResponse.php b/lib/versions/v1/Model/UpsertLeadLabelResponse.php index 21bcda12..45e52141 100644 --- a/lib/versions/v1/Model/UpsertLeadLabelResponse.php +++ b/lib/versions/v1/Model/UpsertLeadLabelResponse.php @@ -2,7 +2,7 @@ /** * UpsertLeadLabelResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UpsertRoleSettingsResponseData.php b/lib/versions/v1/Model/UpsertRoleSettingsResponseData.php index 4487e98c..215c2dcd 100644 --- a/lib/versions/v1/Model/UpsertRoleSettingsResponseData.php +++ b/lib/versions/v1/Model/UpsertRoleSettingsResponseData.php @@ -2,7 +2,7 @@ /** * UpsertRoleSettingsResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/UpsertRoleSettingsResponseDataData.php b/lib/versions/v1/Model/UpsertRoleSettingsResponseDataData.php index f585a620..c1da9f63 100644 --- a/lib/versions/v1/Model/UpsertRoleSettingsResponseDataData.php +++ b/lib/versions/v1/Model/UpsertRoleSettingsResponseDataData.php @@ -2,7 +2,7 @@ /** * UpsertRoleSettingsResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -224,7 +224,7 @@ public function getDealDefaultVisibilityAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['deal_default_visibility'] = $data['deal_default_visibility'] ?? null; diff --git a/lib/versions/v1/Model/User.php b/lib/versions/v1/Model/User.php index 6b1675e0..62b82003 100644 --- a/lib/versions/v1/Model/User.php +++ b/lib/versions/v1/Model/User.php @@ -2,7 +2,7 @@ /** * User * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserAccess.php b/lib/versions/v1/Model/UserAccess.php index 55403ba2..3adb1a1d 100644 --- a/lib/versions/v1/Model/UserAccess.php +++ b/lib/versions/v1/Model/UserAccess.php @@ -2,7 +2,7 @@ /** * UserAccess * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getAppAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['app'] = $data['app'] ?? null; $this->container['admin'] = $data['admin'] ?? null; diff --git a/lib/versions/v1/Model/UserAssignmentToPermissionSet.php b/lib/versions/v1/Model/UserAssignmentToPermissionSet.php index 9bd217ed..d772a700 100644 --- a/lib/versions/v1/Model/UserAssignmentToPermissionSet.php +++ b/lib/versions/v1/Model/UserAssignmentToPermissionSet.php @@ -2,7 +2,7 @@ /** * UserAssignmentToPermissionSet * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['permission_set_id'] = $data['permission_set_id'] ?? null; diff --git a/lib/versions/v1/Model/UserAssignmentsToPermissionSet.php b/lib/versions/v1/Model/UserAssignmentsToPermissionSet.php index af4cf01c..26807fe1 100644 --- a/lib/versions/v1/Model/UserAssignmentsToPermissionSet.php +++ b/lib/versions/v1/Model/UserAssignmentsToPermissionSet.php @@ -2,7 +2,7 @@ /** * UserAssignmentsToPermissionSet * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserAssignmentsToPermissionSetAllOf.php b/lib/versions/v1/Model/UserAssignmentsToPermissionSetAllOf.php index efa73913..e9003307 100644 --- a/lib/versions/v1/Model/UserAssignmentsToPermissionSetAllOf.php +++ b/lib/versions/v1/Model/UserAssignmentsToPermissionSetAllOf.php @@ -2,7 +2,7 @@ /** * UserAssignmentsToPermissionSetAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/UserConnections.php b/lib/versions/v1/Model/UserConnections.php index 5c4e0d74..6feaaa32 100644 --- a/lib/versions/v1/Model/UserConnections.php +++ b/lib/versions/v1/Model/UserConnections.php @@ -2,7 +2,7 @@ /** * UserConnections * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserData.php b/lib/versions/v1/Model/UserData.php index 6b5919b7..e97884e3 100644 --- a/lib/versions/v1/Model/UserData.php +++ b/lib/versions/v1/Model/UserData.php @@ -2,7 +2,7 @@ /** * UserData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/UserDataWithId.php b/lib/versions/v1/Model/UserDataWithId.php index 0f178847..64c9a067 100644 --- a/lib/versions/v1/Model/UserDataWithId.php +++ b/lib/versions/v1/Model/UserDataWithId.php @@ -2,7 +2,7 @@ /** * UserDataWithId * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v1/Model/UserIDs.php b/lib/versions/v1/Model/UserIDs.php index 1daeac3d..ecf864d5 100644 --- a/lib/versions/v1/Model/UserIDs.php +++ b/lib/versions/v1/Model/UserIDs.php @@ -2,7 +2,7 @@ /** * UserIDs * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserIDsAllOf.php b/lib/versions/v1/Model/UserIDsAllOf.php index f0f8fa6c..99562f05 100644 --- a/lib/versions/v1/Model/UserIDsAllOf.php +++ b/lib/versions/v1/Model/UserIDsAllOf.php @@ -2,7 +2,7 @@ /** * UserIDsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/UserMe.php b/lib/versions/v1/Model/UserMe.php index 56b6b074..9ee5861c 100644 --- a/lib/versions/v1/Model/UserMe.php +++ b/lib/versions/v1/Model/UserMe.php @@ -2,7 +2,7 @@ /** * UserMe * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserMeAllOf.php b/lib/versions/v1/Model/UserMeAllOf.php index b9f4bceb..0e00c8e6 100644 --- a/lib/versions/v1/Model/UserMeAllOf.php +++ b/lib/versions/v1/Model/UserMeAllOf.php @@ -2,7 +2,7 @@ /** * UserMeAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/UserPermissions.php b/lib/versions/v1/Model/UserPermissions.php index e4a4ca0a..cdc1542b 100644 --- a/lib/versions/v1/Model/UserPermissions.php +++ b/lib/versions/v1/Model/UserPermissions.php @@ -2,7 +2,7 @@ /** * UserPermissions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserPermissionsAllOf.php b/lib/versions/v1/Model/UserPermissionsAllOf.php index 763100f6..8b55025e 100644 --- a/lib/versions/v1/Model/UserPermissionsAllOf.php +++ b/lib/versions/v1/Model/UserPermissionsAllOf.php @@ -2,7 +2,7 @@ /** * UserPermissionsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/UserPermissionsItem.php b/lib/versions/v1/Model/UserPermissionsItem.php index 03023c25..d7aa4bc2 100644 --- a/lib/versions/v1/Model/UserPermissionsItem.php +++ b/lib/versions/v1/Model/UserPermissionsItem.php @@ -2,7 +2,7 @@ /** * UserPermissionsItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -347,7 +347,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['can_add_custom_fields'] = $data['can_add_custom_fields'] ?? null; $this->container['can_add_products'] = $data['can_add_products'] ?? null; diff --git a/lib/versions/v1/Model/UserProviderLinkCreateRequest.php b/lib/versions/v1/Model/UserProviderLinkCreateRequest.php index 8717b285..0b84016d 100644 --- a/lib/versions/v1/Model/UserProviderLinkCreateRequest.php +++ b/lib/versions/v1/Model/UserProviderLinkCreateRequest.php @@ -2,7 +2,7 @@ /** * UserProviderLinkCreateRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_provider_id'] = $data['user_provider_id'] ?? null; $this->container['user_id'] = $data['user_id'] ?? null; diff --git a/lib/versions/v1/Model/UserProviderLinkErrorResponse.php b/lib/versions/v1/Model/UserProviderLinkErrorResponse.php index a94661c4..54695fed 100644 --- a/lib/versions/v1/Model/UserProviderLinkErrorResponse.php +++ b/lib/versions/v1/Model/UserProviderLinkErrorResponse.php @@ -2,7 +2,7 @@ /** * UserProviderLinkErrorResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['message'] = $data['message'] ?? null; diff --git a/lib/versions/v1/Model/UserProviderLinkSuccessResponse.php b/lib/versions/v1/Model/UserProviderLinkSuccessResponse.php index 022a4d95..bd227e45 100644 --- a/lib/versions/v1/Model/UserProviderLinkSuccessResponse.php +++ b/lib/versions/v1/Model/UserProviderLinkSuccessResponse.php @@ -2,7 +2,7 @@ /** * UserProviderLinkSuccessResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserProviderLinkSuccessResponseData.php b/lib/versions/v1/Model/UserProviderLinkSuccessResponseData.php index b9791e62..0e398ad4 100644 --- a/lib/versions/v1/Model/UserProviderLinkSuccessResponseData.php +++ b/lib/versions/v1/Model/UserProviderLinkSuccessResponseData.php @@ -2,7 +2,7 @@ /** * UserProviderLinkSuccessResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; } diff --git a/lib/versions/v1/Model/UserSettings.php b/lib/versions/v1/Model/UserSettings.php index 957d4821..df703070 100644 --- a/lib/versions/v1/Model/UserSettings.php +++ b/lib/versions/v1/Model/UserSettings.php @@ -2,7 +2,7 @@ /** * UserSettings * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UserSettingsItem.php b/lib/versions/v1/Model/UserSettingsItem.php index 46c70c82..44afb507 100644 --- a/lib/versions/v1/Model/UserSettingsItem.php +++ b/lib/versions/v1/Model/UserSettingsItem.php @@ -2,7 +2,7 @@ /** * UserSettingsItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['marketplace_team'] = $data['marketplace_team'] ?? null; $this->container['list_limit'] = $data['list_limit'] ?? null; diff --git a/lib/versions/v1/Model/Users.php b/lib/versions/v1/Model/Users.php index 6aaea749..8af5ae9a 100644 --- a/lib/versions/v1/Model/Users.php +++ b/lib/versions/v1/Model/Users.php @@ -2,7 +2,7 @@ /** * Users * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v1/Model/UsersAllOf.php b/lib/versions/v1/Model/UsersAllOf.php index 50972ade..d6a90650 100644 --- a/lib/versions/v1/Model/UsersAllOf.php +++ b/lib/versions/v1/Model/UsersAllOf.php @@ -2,7 +2,7 @@ /** * UsersAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/VisibleTo.php b/lib/versions/v1/Model/VisibleTo.php index 5636da7d..15ec82da 100644 --- a/lib/versions/v1/Model/VisibleTo.php +++ b/lib/versions/v1/Model/VisibleTo.php @@ -2,7 +2,7 @@ /** * VisibleTo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v1/Model/Webhook.php b/lib/versions/v1/Model/Webhook.php index 2fd1a4d1..10fa4d22 100644 --- a/lib/versions/v1/Model/Webhook.php +++ b/lib/versions/v1/Model/Webhook.php @@ -2,7 +2,7 @@ /** * Webhook * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status'] = $data['status'] ?? null; diff --git a/lib/versions/v1/Model/WebhookBadRequest.php b/lib/versions/v1/Model/WebhookBadRequest.php index 82a250e1..0eeeb4c4 100644 --- a/lib/versions/v1/Model/WebhookBadRequest.php +++ b/lib/versions/v1/Model/WebhookBadRequest.php @@ -2,7 +2,7 @@ /** * WebhookBadRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status'] = $data['status'] ?? null; diff --git a/lib/versions/v1/Model/WebhookBadRequestAllOf.php b/lib/versions/v1/Model/WebhookBadRequestAllOf.php index 822c27be..b9da51d7 100644 --- a/lib/versions/v1/Model/WebhookBadRequestAllOf.php +++ b/lib/versions/v1/Model/WebhookBadRequestAllOf.php @@ -2,7 +2,7 @@ /** * WebhookBadRequestAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['errors'] = $data['errors'] ?? null; } diff --git a/lib/versions/v1/Model/Webhooks.php b/lib/versions/v1/Model/Webhooks.php index 322c9a87..ad9b371e 100644 --- a/lib/versions/v1/Model/Webhooks.php +++ b/lib/versions/v1/Model/Webhooks.php @@ -2,7 +2,7 @@ /** * Webhooks * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['status'] = $data['status'] ?? null; diff --git a/lib/versions/v1/Model/WebhooksAllOf.php b/lib/versions/v1/Model/WebhooksAllOf.php index d9fb9242..137537ef 100644 --- a/lib/versions/v1/Model/WebhooksAllOf.php +++ b/lib/versions/v1/Model/WebhooksAllOf.php @@ -2,7 +2,7 @@ /** * WebhooksAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v1/Model/WebhooksDeleteForbiddenSchema.php b/lib/versions/v1/Model/WebhooksDeleteForbiddenSchema.php index 99a0a5bb..b4acd8ba 100644 --- a/lib/versions/v1/Model/WebhooksDeleteForbiddenSchema.php +++ b/lib/versions/v1/Model/WebhooksDeleteForbiddenSchema.php @@ -2,7 +2,7 @@ /** * WebhooksDeleteForbiddenSchema * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['message'] = $data['message'] ?? null; diff --git a/lib/versions/v1/Model/WebhooksDeleteForbiddenSchemaAllOf.php b/lib/versions/v1/Model/WebhooksDeleteForbiddenSchemaAllOf.php index 8a3e1d69..3812bdd6 100644 --- a/lib/versions/v1/Model/WebhooksDeleteForbiddenSchemaAllOf.php +++ b/lib/versions/v1/Model/WebhooksDeleteForbiddenSchemaAllOf.php @@ -2,7 +2,7 @@ /** * WebhooksDeleteForbiddenSchemaAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; } diff --git a/lib/versions/v1/ObjectSerializer.php b/lib/versions/v1/ObjectSerializer.php index eb52c0b3..d1288899 100644 --- a/lib/versions/v1/ObjectSerializer.php +++ b/lib/versions/v1/ObjectSerializer.php @@ -2,7 +2,7 @@ /** * ObjectSerializer * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -70,7 +70,7 @@ public static function setDateTimeFormat(string $format): void * * @return scalar|object|array|null serialized form of $data */ - public static function sanitizeForSerialization($data, $type = null, string $format = null) + public static function sanitizeForSerialization($data, $type = null, ?string $format = null) { if (is_scalar($data) || null === $data) { return $data; @@ -268,7 +268,7 @@ public static function serializeCollection(array $collection, string $style, boo * * @return object|array|null a single or an array of $class instances */ - public static function deserialize($data, string $class, array $httpHeaders = null) + public static function deserialize($data, string $class, ?array $httpHeaders = null) { if (null === $data) { return null; @@ -365,6 +365,11 @@ public static function deserialize($data, string $class, array $httpHeaders = nu } if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + // V1 relational fields (user_id, org_id, person_id) may return as objects; extract the scalar ID. + // Only applies to numeric types — 'mixed'/'array'/'object' must keep the full value. + if (is_object($data) && in_array($class, ['int', 'integer', 'float', 'double', 'number', 'byte'], true)) { + $data = $data->value ?? $data->id ?? null; + } settype($data, $class); return $data; } diff --git a/lib/versions/v1/Traits/RawData.php b/lib/versions/v1/Traits/RawData.php index 07d58ad4..f2563f26 100644 --- a/lib/versions/v1/Traits/RawData.php +++ b/lib/versions/v1/Traits/RawData.php @@ -2,7 +2,7 @@ /** * RawData - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 @@ -27,7 +27,7 @@ namespace Pipedrive\versions\v1\Traits; /** - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v1 diff --git a/lib/versions/v2/Api/ActivitiesApi.php b/lib/versions/v2/Api/ActivitiesApi.php index dd2bec4c..84a8b5ba 100644 --- a/lib/versions/v2/Api/ActivitiesApi.php +++ b/lib/versions/v2/Api/ActivitiesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ActivityFieldsApi.php b/lib/versions/v2/Api/ActivityFieldsApi.php index d65384e4..2fa33f4e 100644 --- a/lib/versions/v2/Api/ActivityFieldsApi.php +++ b/lib/versions/v2/Api/ActivityFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/BetaApi.php b/lib/versions/v2/Api/BetaApi.php index 8d199c81..cfc93039 100644 --- a/lib/versions/v2/Api/BetaApi.php +++ b/lib/versions/v2/Api/BetaApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/DealFieldsApi.php b/lib/versions/v2/Api/DealFieldsApi.php index e0fd6f07..1791e501 100644 --- a/lib/versions/v2/Api/DealFieldsApi.php +++ b/lib/versions/v2/Api/DealFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/DealInstallmentsApi.php b/lib/versions/v2/Api/DealInstallmentsApi.php index ce13f760..d18dbc7d 100644 --- a/lib/versions/v2/Api/DealInstallmentsApi.php +++ b/lib/versions/v2/Api/DealInstallmentsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/DealProductsApi.php b/lib/versions/v2/Api/DealProductsApi.php index 3b854a68..8b781dfa 100644 --- a/lib/versions/v2/Api/DealProductsApi.php +++ b/lib/versions/v2/Api/DealProductsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); @@ -1944,7 +1944,7 @@ public function getDealsProductsRequest($deal_ids, $cursor = null, $limit = null // query params /* @phpstan-ignore-next-line */ if (is_array($deal_ids)) { - $deal_ids = ObjectSerializer::serializeCollection($deal_ids, 'csv', true); + $deal_ids = ObjectSerializer::serializeCollection($deal_ids, 'form', true); } if ($deal_ids !== null) { $queryParams['deal_ids'] = $deal_ids; diff --git a/lib/versions/v2/Api/DealsApi.php b/lib/versions/v2/Api/DealsApi.php index 35e8a09f..39056c5c 100644 --- a/lib/versions/v2/Api/DealsApi.php +++ b/lib/versions/v2/Api/DealsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ItemSearchApi.php b/lib/versions/v2/Api/ItemSearchApi.php index a432b087..0f95a7ce 100644 --- a/lib/versions/v2/Api/ItemSearchApi.php +++ b/lib/versions/v2/Api/ItemSearchApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/LeadsApi.php b/lib/versions/v2/Api/LeadsApi.php index 021221bc..24849ad0 100644 --- a/lib/versions/v2/Api/LeadsApi.php +++ b/lib/versions/v2/Api/LeadsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/OrganizationFieldsApi.php b/lib/versions/v2/Api/OrganizationFieldsApi.php index 7676960a..c2f6c4dd 100644 --- a/lib/versions/v2/Api/OrganizationFieldsApi.php +++ b/lib/versions/v2/Api/OrganizationFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/OrganizationsApi.php b/lib/versions/v2/Api/OrganizationsApi.php index 7063b631..119c3389 100644 --- a/lib/versions/v2/Api/OrganizationsApi.php +++ b/lib/versions/v2/Api/OrganizationsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/PersonFieldsApi.php b/lib/versions/v2/Api/PersonFieldsApi.php index 556b58cc..12e76dc7 100644 --- a/lib/versions/v2/Api/PersonFieldsApi.php +++ b/lib/versions/v2/Api/PersonFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/PersonsApi.php b/lib/versions/v2/Api/PersonsApi.php index 46d8964d..7820e261 100644 --- a/lib/versions/v2/Api/PersonsApi.php +++ b/lib/versions/v2/Api/PersonsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/PipelinesApi.php b/lib/versions/v2/Api/PipelinesApi.php index 097dbfce..2191be58 100644 --- a/lib/versions/v2/Api/PipelinesApi.php +++ b/lib/versions/v2/Api/PipelinesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProductFieldsApi.php b/lib/versions/v2/Api/ProductFieldsApi.php index 88dfdbab..fd959200 100644 --- a/lib/versions/v2/Api/ProductFieldsApi.php +++ b/lib/versions/v2/Api/ProductFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProductsApi.php b/lib/versions/v2/Api/ProductsApi.php index bf85cae1..a4ee0a63 100644 --- a/lib/versions/v2/Api/ProductsApi.php +++ b/lib/versions/v2/Api/ProductsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProjectBoardsApi.php b/lib/versions/v2/Api/ProjectBoardsApi.php index 24629057..3db3b67d 100644 --- a/lib/versions/v2/Api/ProjectBoardsApi.php +++ b/lib/versions/v2/Api/ProjectBoardsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProjectFieldsApi.php b/lib/versions/v2/Api/ProjectFieldsApi.php index 1e2c150c..aa2d7588 100644 --- a/lib/versions/v2/Api/ProjectFieldsApi.php +++ b/lib/versions/v2/Api/ProjectFieldsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProjectPhasesApi.php b/lib/versions/v2/Api/ProjectPhasesApi.php index 9e6b33f7..d1ad8801 100644 --- a/lib/versions/v2/Api/ProjectPhasesApi.php +++ b/lib/versions/v2/Api/ProjectPhasesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProjectTemplatesApi.php b/lib/versions/v2/Api/ProjectTemplatesApi.php index 1e64bc8a..d467b180 100644 --- a/lib/versions/v2/Api/ProjectTemplatesApi.php +++ b/lib/versions/v2/Api/ProjectTemplatesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/ProjectsApi.php b/lib/versions/v2/Api/ProjectsApi.php index b9df88d4..f8b661bc 100644 --- a/lib/versions/v2/Api/ProjectsApi.php +++ b/lib/versions/v2/Api/ProjectsApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); @@ -2271,6 +2271,9 @@ public function getProjectUsersRequest($id): Request * @param int|null $filter_id If supplied, only projects matching the specified filter are returned (optional) * @param string|null $status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. (optional) * @param int|null $phase_id If supplied, only projects in the specified phase are returned (optional) + * @param int|null $deal_id If supplied, only projects associated with the specified deal are returned (optional) + * @param int|null $person_id If supplied, only projects associated with the specified person are returned (optional) + * @param int|null $org_id If supplied, only projects associated with the specified organization are returned (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @@ -2278,9 +2281,9 @@ public function getProjectUsersRequest($id): Request * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v2\Model\GetProjects */ - public function getProjects($filter_id = null, $status = null, $phase_id = null, $limit = null, $cursor = null) + public function getProjects($filter_id = null, $status = null, $phase_id = null, $deal_id = null, $person_id = null, $org_id = null, $limit = null, $cursor = null) { - list($response) = $this->getProjectsWithHttpInfo($filter_id, $status, $phase_id, $limit, $cursor); + list($response) = $this->getProjectsWithHttpInfo($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor); return $response; } @@ -2292,6 +2295,9 @@ public function getProjects($filter_id = null, $status = null, $phase_id = null, * @param int|null $filter_id If supplied, only projects matching the specified filter are returned (optional) * @param string|null $status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. (optional) * @param int|null $phase_id If supplied, only projects in the specified phase are returned (optional) + * @param int|null $deal_id If supplied, only projects associated with the specified deal are returned (optional) + * @param int|null $person_id If supplied, only projects associated with the specified person are returned (optional) + * @param int|null $org_id If supplied, only projects associated with the specified organization are returned (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @@ -2299,9 +2305,9 @@ public function getProjects($filter_id = null, $status = null, $phase_id = null, * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v2\Model\GetProjects, HTTP status code, HTTP response headers (array of strings) */ - public function getProjectsWithHttpInfo($filter_id = null, $status = null, $phase_id = null, $limit = null, $cursor = null) + public function getProjectsWithHttpInfo($filter_id = null, $status = null, $phase_id = null, $deal_id = null, $person_id = null, $org_id = null, $limit = null, $cursor = null) { - $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $limit, $cursor); + $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor); try { $options = $this->createHttpClientOption(); @@ -2310,7 +2316,7 @@ public function getProjectsWithHttpInfo($filter_id = null, $status = null, $phas } catch (RequestException $e) { if ($e->getCode() === 401 && $this->config->isRefreshPossible()) { $this->config->refreshToken(); - $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $limit, $cursor); + $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor); $response = $this->client->send($request, $options); } else { throw new ApiException( @@ -2397,15 +2403,18 @@ public function getProjectsWithHttpInfo($filter_id = null, $status = null, $phas * @param int|null $filter_id If supplied, only projects matching the specified filter are returned (optional) * @param string|null $status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. (optional) * @param int|null $phase_id If supplied, only projects in the specified phase are returned (optional) + * @param int|null $deal_id If supplied, only projects associated with the specified deal are returned (optional) + * @param int|null $person_id If supplied, only projects associated with the specified person are returned (optional) + * @param int|null $org_id If supplied, only projects associated with the specified organization are returned (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface */ - public function getProjectsAsync($filter_id = null, $status = null, $phase_id = null, $limit = null, $cursor = null): PromiseInterface + public function getProjectsAsync($filter_id = null, $status = null, $phase_id = null, $deal_id = null, $person_id = null, $org_id = null, $limit = null, $cursor = null): PromiseInterface { - return $this->getProjectsAsyncWithHttpInfo($filter_id, $status, $phase_id, $limit, $cursor) + return $this->getProjectsAsyncWithHttpInfo($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor) ->then( function ($response) { return $response[0]; @@ -2421,16 +2430,19 @@ function ($response) { * @param int|null $filter_id If supplied, only projects matching the specified filter are returned (optional) * @param string|null $status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. (optional) * @param int|null $phase_id If supplied, only projects in the specified phase are returned (optional) + * @param int|null $deal_id If supplied, only projects associated with the specified deal are returned (optional) + * @param int|null $person_id If supplied, only projects associated with the specified person are returned (optional) + * @param int|null $org_id If supplied, only projects associated with the specified organization are returned (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface */ - public function getProjectsAsyncWithHttpInfo($filter_id = null, $status = null, $phase_id = null, $limit = null, $cursor = null): PromiseInterface + public function getProjectsAsyncWithHttpInfo($filter_id = null, $status = null, $phase_id = null, $deal_id = null, $person_id = null, $org_id = null, $limit = null, $cursor = null): PromiseInterface { $returnType = '\Pipedrive\versions\v2\Model\GetProjects'; - $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $limit, $cursor); + $request = $this->getProjectsRequest($filter_id, $status, $phase_id, $deal_id, $person_id, $org_id, $limit, $cursor); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2472,13 +2484,16 @@ function ($exception) { * @param int|null $filter_id If supplied, only projects matching the specified filter are returned (optional) * @param string|null $status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. (optional) * @param int|null $phase_id If supplied, only projects in the specified phase are returned (optional) + * @param int|null $deal_id If supplied, only projects associated with the specified deal are returned (optional) + * @param int|null $person_id If supplied, only projects associated with the specified person are returned (optional) + * @param int|null $org_id If supplied, only projects associated with the specified organization are returned (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * * @throws InvalidArgumentException|OAuthProviderException * @return Request */ - public function getProjectsRequest($filter_id = null, $status = null, $phase_id = null, $limit = null, $cursor = null): Request + public function getProjectsRequest($filter_id = null, $status = null, $phase_id = null, $deal_id = null, $person_id = null, $org_id = null, $limit = null, $cursor = null): Request { $resourcePath = '/projects'; @@ -2514,6 +2529,30 @@ public function getProjectsRequest($filter_id = null, $status = null, $phase_id } // query params /* @phpstan-ignore-next-line */ + if (is_array($deal_id)) { + $deal_id = ObjectSerializer::serializeCollection($deal_id, '', true); + } + if ($deal_id !== null) { + $queryParams['deal_id'] = $deal_id; + } + // query params + /* @phpstan-ignore-next-line */ + if (is_array($person_id)) { + $person_id = ObjectSerializer::serializeCollection($person_id, '', true); + } + if ($person_id !== null) { + $queryParams['person_id'] = $person_id; + } + // query params + /* @phpstan-ignore-next-line */ + if (is_array($org_id)) { + $org_id = ObjectSerializer::serializeCollection($org_id, '', true); + } + if ($org_id !== null) { + $queryParams['org_id'] = $org_id; + } + // query params + /* @phpstan-ignore-next-line */ if (is_array($limit)) { $limit = ObjectSerializer::serializeCollection($limit, '', true); } diff --git a/lib/versions/v2/Api/StagesApi.php b/lib/versions/v2/Api/StagesApi.php index 3c3e5415..62bddd31 100644 --- a/lib/versions/v2/Api/StagesApi.php +++ b/lib/versions/v2/Api/StagesApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/TasksApi.php b/lib/versions/v2/Api/TasksApi.php index 136ad445..d4c6c5d8 100644 --- a/lib/versions/v2/Api/TasksApi.php +++ b/lib/versions/v2/Api/TasksApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/Api/UsersApi.php b/lib/versions/v2/Api/UsersApi.php index ab644a77..a8bc881b 100644 --- a/lib/versions/v2/Api/UsersApi.php +++ b/lib/versions/v2/Api/UsersApi.php @@ -1,7 +1,7 @@ client = $client ?: new Client(); diff --git a/lib/versions/v2/ApiException.php b/lib/versions/v2/ApiException.php index ddb3235f..0da8d6a9 100644 --- a/lib/versions/v2/ApiException.php +++ b/lib/versions/v2/ApiException.php @@ -1,7 +1,7 @@ container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/ActivityFieldItemOptions.php b/lib/versions/v2/Model/ActivityFieldItemOptions.php index 629ec6c5..dbad29e9 100644 --- a/lib/versions/v2/Model/ActivityFieldItemOptions.php +++ b/lib/versions/v2/Model/ActivityFieldItemOptions.php @@ -2,7 +2,7 @@ /** * ActivityFieldItemOptions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/lib/versions/v2/Model/ActivityFieldItemSubfields.php b/lib/versions/v2/Model/ActivityFieldItemSubfields.php index 956e786c..8977ecce 100644 --- a/lib/versions/v2/Model/ActivityFieldItemSubfields.php +++ b/lib/versions/v2/Model/ActivityFieldItemSubfields.php @@ -2,7 +2,7 @@ /** * ActivityFieldItemSubfields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_code'] = $data['field_code'] ?? null; $this->container['field_name'] = $data['field_name'] ?? null; diff --git a/lib/versions/v2/Model/ActivityFieldItemUiVisibility.php b/lib/versions/v2/Model/ActivityFieldItemUiVisibility.php index 927d7f73..15f27149 100644 --- a/lib/versions/v2/Model/ActivityFieldItemUiVisibility.php +++ b/lib/versions/v2/Model/ActivityFieldItemUiVisibility.php @@ -2,7 +2,7 @@ /** * ActivityFieldItemUiVisibility * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_visible_flag'] = $data['add_visible_flag'] ?? null; $this->container['details_visible_flag'] = $data['details_visible_flag'] ?? null; diff --git a/lib/versions/v2/Model/ActivityItem.php b/lib/versions/v2/Model/ActivityItem.php index 12a30973..ccb765d0 100644 --- a/lib/versions/v2/Model/ActivityItem.php +++ b/lib/versions/v2/Model/ActivityItem.php @@ -2,7 +2,7 @@ /** * ActivityItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -332,7 +332,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['subject'] = $data['subject'] ?? null; diff --git a/lib/versions/v2/Model/ActivityItemAttendees.php b/lib/versions/v2/Model/ActivityItemAttendees.php index 6c0d4edb..1370e9d1 100644 --- a/lib/versions/v2/Model/ActivityItemAttendees.php +++ b/lib/versions/v2/Model/ActivityItemAttendees.php @@ -2,7 +2,7 @@ /** * ActivityItemAttendees * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ActivityItemLocation.php b/lib/versions/v2/Model/ActivityItemLocation.php index b34fb77b..c9a5e5d4 100644 --- a/lib/versions/v2/Model/ActivityItemLocation.php +++ b/lib/versions/v2/Model/ActivityItemLocation.php @@ -2,7 +2,7 @@ /** * ActivityItemLocation * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -243,7 +243,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['country'] = $data['country'] ?? null; diff --git a/lib/versions/v2/Model/ActivityItemParticipants.php b/lib/versions/v2/Model/ActivityItemParticipants.php index e6c11b7d..04c09848 100644 --- a/lib/versions/v2/Model/ActivityItemParticipants.php +++ b/lib/versions/v2/Model/ActivityItemParticipants.php @@ -2,7 +2,7 @@ /** * ActivityItemParticipants * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['person_id'] = $data['person_id'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v2/Model/ActivityRequestBody.php b/lib/versions/v2/Model/ActivityRequestBody.php index 0297ac68..bac61080 100644 --- a/lib/versions/v2/Model/ActivityRequestBody.php +++ b/lib/versions/v2/Model/ActivityRequestBody.php @@ -2,7 +2,7 @@ /** * ActivityRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -287,7 +287,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['subject'] = $data['subject'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/AddAdditionalDiscountResponse.php b/lib/versions/v2/Model/AddAdditionalDiscountResponse.php index 5dffe7d5..8ade7e01 100644 --- a/lib/versions/v2/Model/AddAdditionalDiscountResponse.php +++ b/lib/versions/v2/Model/AddAdditionalDiscountResponse.php @@ -2,7 +2,7 @@ /** * AddAdditionalDiscountResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddConvertDealToLeadResponse.php b/lib/versions/v2/Model/AddConvertDealToLeadResponse.php index ae6b4a96..f65cf199 100644 --- a/lib/versions/v2/Model/AddConvertDealToLeadResponse.php +++ b/lib/versions/v2/Model/AddConvertDealToLeadResponse.php @@ -2,7 +2,7 @@ /** * AddConvertDealToLeadResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddConvertLeadToDealResponse.php b/lib/versions/v2/Model/AddConvertLeadToDealResponse.php index be6b4535..0fe760a6 100644 --- a/lib/versions/v2/Model/AddConvertLeadToDealResponse.php +++ b/lib/versions/v2/Model/AddConvertLeadToDealResponse.php @@ -2,7 +2,7 @@ /** * AddConvertLeadToDealResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddDealProductResponse.php b/lib/versions/v2/Model/AddDealProductResponse.php index 40003d16..0cb7191c 100644 --- a/lib/versions/v2/Model/AddDealProductResponse.php +++ b/lib/versions/v2/Model/AddDealProductResponse.php @@ -2,7 +2,7 @@ /** * AddDealProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddInstallmentResponse.php b/lib/versions/v2/Model/AddInstallmentResponse.php index 1588903c..16a717bf 100644 --- a/lib/versions/v2/Model/AddInstallmentResponse.php +++ b/lib/versions/v2/Model/AddInstallmentResponse.php @@ -2,7 +2,7 @@ /** * AddInstallmentResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddProductImageResponse.php b/lib/versions/v2/Model/AddProductImageResponse.php index 0e14c80d..47a40675 100644 --- a/lib/versions/v2/Model/AddProductImageResponse.php +++ b/lib/versions/v2/Model/AddProductImageResponse.php @@ -2,7 +2,7 @@ /** * AddProductImageResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AddProductRequestBody.php b/lib/versions/v2/Model/AddProductRequestBody.php index 2457b8cd..9151eecb 100644 --- a/lib/versions/v2/Model/AddProductRequestBody.php +++ b/lib/versions/v2/Model/AddProductRequestBody.php @@ -2,7 +2,7 @@ /** * AddProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/lib/versions/v2/Model/AddTaskResponse.php b/lib/versions/v2/Model/AddTaskResponse.php index bad7b523..b297971b 100644 --- a/lib/versions/v2/Model/AddTaskResponse.php +++ b/lib/versions/v2/Model/AddTaskResponse.php @@ -2,7 +2,7 @@ /** * AddTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AdditionalDataWithCursorPagination.php b/lib/versions/v2/Model/AdditionalDataWithCursorPagination.php index 5d3570aa..0c997bc3 100644 --- a/lib/versions/v2/Model/AdditionalDataWithCursorPagination.php +++ b/lib/versions/v2/Model/AdditionalDataWithCursorPagination.php @@ -2,7 +2,7 @@ /** * AdditionalDataWithCursorPagination * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_cursor'] = $data['next_cursor'] ?? null; } diff --git a/lib/versions/v2/Model/AdditionalDiscountRequestBody.php b/lib/versions/v2/Model/AdditionalDiscountRequestBody.php index fc5613da..d788ca49 100644 --- a/lib/versions/v2/Model/AdditionalDiscountRequestBody.php +++ b/lib/versions/v2/Model/AdditionalDiscountRequestBody.php @@ -2,7 +2,7 @@ /** * AdditionalDiscountRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -224,7 +224,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['description'] = $data['description'] ?? null; $this->container['amount'] = $data['amount'] ?? null; diff --git a/lib/versions/v2/Model/AdditionalDiscountsResponse.php b/lib/versions/v2/Model/AdditionalDiscountsResponse.php index 4d914e87..23daaeb5 100644 --- a/lib/versions/v2/Model/AdditionalDiscountsResponse.php +++ b/lib/versions/v2/Model/AdditionalDiscountsResponse.php @@ -2,7 +2,7 @@ /** * AdditionalDiscountsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/AnyOfRecents.php b/lib/versions/v2/Model/AnyOfRecents.php index 6320dbe9..1cff46f1 100644 --- a/lib/versions/v2/Model/AnyOfRecents.php +++ b/lib/versions/v2/Model/AnyOfRecents.php @@ -2,7 +2,7 @@ /** * AnyOfRecents - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -28,7 +28,7 @@ /** * AnyOfRecents Class Doc Comment - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -134,7 +134,7 @@ public function getModelName(): string * @psalm-param array|null $data * @param array|null $data Associated array of property values initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/ArrayPrices.php b/lib/versions/v2/Model/ArrayPrices.php index 6cb7e98f..1dae9551 100644 --- a/lib/versions/v2/Model/ArrayPrices.php +++ b/lib/versions/v2/Model/ArrayPrices.php @@ -2,7 +2,7 @@ /** * ArrayPrices * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['prices'] = $data['prices'] ?? null; } diff --git a/lib/versions/v2/Model/BaseAdditionalDiscount.php b/lib/versions/v2/Model/BaseAdditionalDiscount.php index c222228c..482df0ee 100644 --- a/lib/versions/v2/Model/BaseAdditionalDiscount.php +++ b/lib/versions/v2/Model/BaseAdditionalDiscount.php @@ -2,7 +2,7 @@ /** * BaseAdditionalDiscount * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -254,7 +254,7 @@ public function getTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/BaseDealProduct.php b/lib/versions/v2/Model/BaseDealProduct.php index 9129b063..2db4482d 100644 --- a/lib/versions/v2/Model/BaseDealProduct.php +++ b/lib/versions/v2/Model/BaseDealProduct.php @@ -2,7 +2,7 @@ /** * BaseDealProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -86,7 +86,7 @@ class BaseDealProduct implements ModelInterface, ArrayAccess, JsonSerializable 'is_enabled' => 'bool', 'billing_frequency' => '\Pipedrive\versions\v2\Model\BillingFrequency', 'billing_frequency_cycles' => 'int', - 'billing_start_date' => 'string' + 'billing_start_date' => '\DateTime' ]; /** @@ -117,7 +117,7 @@ class BaseDealProduct implements ModelInterface, ArrayAccess, JsonSerializable 'is_enabled' => null, 'billing_frequency' => null, 'billing_frequency_cycles' => null, - 'billing_start_date' => 'YYYY-MM-DD' + 'billing_start_date' => 'date' ]; /** @@ -333,7 +333,7 @@ public function getTaxMethodAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['sum'] = $data['sum'] ?? null; @@ -905,7 +905,7 @@ public function setBillingFrequencyCycles($billing_frequency_cycles): self /** * Gets billing_start_date * - * @return string|null + * @return \DateTime|null */ public function getBillingStartDate() { @@ -915,7 +915,7 @@ public function getBillingStartDate() /** * Sets billing_start_date * - * @param string|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future + * @param \DateTime|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future * * @return self */ diff --git a/lib/versions/v2/Model/BaseDealProductAllOf.php b/lib/versions/v2/Model/BaseDealProductAllOf.php index 33e9770d..2790ef4f 100644 --- a/lib/versions/v2/Model/BaseDealProductAllOf.php +++ b/lib/versions/v2/Model/BaseDealProductAllOf.php @@ -2,7 +2,7 @@ /** * BaseDealProductAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -318,7 +318,7 @@ public function getTaxMethodAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['sum'] = $data['sum'] ?? null; diff --git a/lib/versions/v2/Model/BaseDealProductAllOf1.php b/lib/versions/v2/Model/BaseDealProductAllOf1.php index eca5a5ae..11b411de 100644 --- a/lib/versions/v2/Model/BaseDealProductAllOf1.php +++ b/lib/versions/v2/Model/BaseDealProductAllOf1.php @@ -2,7 +2,7 @@ /** * BaseDealProductAllOf1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['billing_frequency'] = $data['billing_frequency'] ?? null; } diff --git a/lib/versions/v2/Model/BaseDealProductAllOf2.php b/lib/versions/v2/Model/BaseDealProductAllOf2.php index d53ca846..660f1d65 100644 --- a/lib/versions/v2/Model/BaseDealProductAllOf2.php +++ b/lib/versions/v2/Model/BaseDealProductAllOf2.php @@ -2,7 +2,7 @@ /** * BaseDealProductAllOf2 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['billing_frequency_cycles'] = $data['billing_frequency_cycles'] ?? null; } diff --git a/lib/versions/v2/Model/BaseDealProductAllOf3.php b/lib/versions/v2/Model/BaseDealProductAllOf3.php index 8f8fdf52..5d9e42af 100644 --- a/lib/versions/v2/Model/BaseDealProductAllOf3.php +++ b/lib/versions/v2/Model/BaseDealProductAllOf3.php @@ -2,7 +2,7 @@ /** * BaseDealProductAllOf3 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -66,7 +66,7 @@ class BaseDealProductAllOf3 implements ModelInterface, ArrayAccess, JsonSerializ * @phpsalm-var array */ protected static array $openAPITypes = [ - 'billing_start_date' => 'string' + 'billing_start_date' => '\DateTime' ]; /** @@ -77,7 +77,7 @@ class BaseDealProductAllOf3 implements ModelInterface, ArrayAccess, JsonSerializ * @psalm-var array */ protected static $openAPIFormats = [ - 'billing_start_date' => 'YYYY-MM-DD' + 'billing_start_date' => 'date' ]; /** @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['billing_start_date'] = $data['billing_start_date'] ?? null; } @@ -231,7 +231,7 @@ public function valid(): bool /** * Gets billing_start_date * - * @return string|null + * @return \DateTime|null */ public function getBillingStartDate() { @@ -241,7 +241,7 @@ public function getBillingStartDate() /** * Sets billing_start_date * - * @param string|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future + * @param \DateTime|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future * * @return self */ diff --git a/lib/versions/v2/Model/BaseInstallment.php b/lib/versions/v2/Model/BaseInstallment.php index 736372ea..0806de7d 100644 --- a/lib/versions/v2/Model/BaseInstallment.php +++ b/lib/versions/v2/Model/BaseInstallment.php @@ -2,7 +2,7 @@ /** * BaseInstallment * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['amount'] = $data['amount'] ?? null; diff --git a/lib/versions/v2/Model/BaseProduct.php b/lib/versions/v2/Model/BaseProduct.php index e2b34055..b5e96c83 100644 --- a/lib/versions/v2/Model/BaseProduct.php +++ b/lib/versions/v2/Model/BaseProduct.php @@ -2,7 +2,7 @@ /** * BaseProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -252,7 +252,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/BaseProductAllOf.php b/lib/versions/v2/Model/BaseProductAllOf.php index 97dfcacc..a685f7c7 100644 --- a/lib/versions/v2/Model/BaseProductAllOf.php +++ b/lib/versions/v2/Model/BaseProductAllOf.php @@ -2,7 +2,7 @@ /** * BaseProductAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/BaseProductAllOf1.php b/lib/versions/v2/Model/BaseProductAllOf1.php index 85eb29f4..2d2e4c1d 100644 --- a/lib/versions/v2/Model/BaseProductAllOf1.php +++ b/lib/versions/v2/Model/BaseProductAllOf1.php @@ -2,7 +2,7 @@ /** * BaseProductAllOf1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['billing_frequency'] = $data['billing_frequency'] ?? null; } diff --git a/lib/versions/v2/Model/BaseProductImage.php b/lib/versions/v2/Model/BaseProductImage.php index ba9528a7..eb74e99f 100644 --- a/lib/versions/v2/Model/BaseProductImage.php +++ b/lib/versions/v2/Model/BaseProductImage.php @@ -2,7 +2,7 @@ /** * BaseProductImage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['product_id'] = $data['product_id'] ?? null; diff --git a/lib/versions/v2/Model/BaseResponse.php b/lib/versions/v2/Model/BaseResponse.php index b9c09603..b02e3023 100644 --- a/lib/versions/v2/Model/BaseResponse.php +++ b/lib/versions/v2/Model/BaseResponse.php @@ -2,7 +2,7 @@ /** * BaseResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; } diff --git a/lib/versions/v2/Model/BillingFrequency.php b/lib/versions/v2/Model/BillingFrequency.php index 28775718..e3396a85 100644 --- a/lib/versions/v2/Model/BillingFrequency.php +++ b/lib/versions/v2/Model/BillingFrequency.php @@ -2,7 +2,7 @@ /** * BillingFrequency * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 diff --git a/lib/versions/v2/Model/BillingFrequency1.php b/lib/versions/v2/Model/BillingFrequency1.php index dbf2e8d8..531bd746 100644 --- a/lib/versions/v2/Model/BillingFrequency1.php +++ b/lib/versions/v2/Model/BillingFrequency1.php @@ -2,7 +2,7 @@ /** * BillingFrequency1 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 diff --git a/lib/versions/v2/Model/BoardItem.php b/lib/versions/v2/Model/BoardItem.php index 6696b154..b407ad8e 100644 --- a/lib/versions/v2/Model/BoardItem.php +++ b/lib/versions/v2/Model/BoardItem.php @@ -2,7 +2,7 @@ /** * BoardItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/BoardRequestBody.php b/lib/versions/v2/Model/BoardRequestBody.php index 25a24da2..58aaa24c 100644 --- a/lib/versions/v2/Model/BoardRequestBody.php +++ b/lib/versions/v2/Model/BoardRequestBody.php @@ -2,7 +2,7 @@ /** * BoardRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['order_nr'] = $data['order_nr'] ?? null; diff --git a/lib/versions/v2/Model/ConvertEntityResponse.php b/lib/versions/v2/Model/ConvertEntityResponse.php index cf70ad4f..9c5f7715 100644 --- a/lib/versions/v2/Model/ConvertEntityResponse.php +++ b/lib/versions/v2/Model/ConvertEntityResponse.php @@ -2,7 +2,7 @@ /** * ConvertEntityResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['conversion_id'] = $data['conversion_id'] ?? null; } diff --git a/lib/versions/v2/Model/CreateDealField.php b/lib/versions/v2/Model/CreateDealField.php index 6177e71b..3d4ab485 100644 --- a/lib/versions/v2/Model/CreateDealField.php +++ b/lib/versions/v2/Model/CreateDealField.php @@ -2,7 +2,7 @@ /** * CreateDealField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreateDealFieldRequest.php b/lib/versions/v2/Model/CreateDealFieldRequest.php index ec5fce7e..9c6cb6ab 100644 --- a/lib/versions/v2/Model/CreateDealFieldRequest.php +++ b/lib/versions/v2/Model/CreateDealFieldRequest.php @@ -2,7 +2,7 @@ /** * CreateDealFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -272,7 +272,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_type'] = $data['field_type'] ?? null; diff --git a/lib/versions/v2/Model/CreateDealFieldRequestOptions.php b/lib/versions/v2/Model/CreateDealFieldRequestOptions.php index e31d9950..5619499c 100644 --- a/lib/versions/v2/Model/CreateDealFieldRequestOptions.php +++ b/lib/versions/v2/Model/CreateDealFieldRequestOptions.php @@ -2,7 +2,7 @@ /** * CreateDealFieldRequestOptions * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; } diff --git a/lib/versions/v2/Model/CreateManyDealProductRequestBody.php b/lib/versions/v2/Model/CreateManyDealProductRequestBody.php index 91fa0672..077c45fe 100644 --- a/lib/versions/v2/Model/CreateManyDealProductRequestBody.php +++ b/lib/versions/v2/Model/CreateManyDealProductRequestBody.php @@ -2,7 +2,7 @@ /** * CreateManyDealProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/CreateManyDealProductResponse.php b/lib/versions/v2/Model/CreateManyDealProductResponse.php index f277c6f8..57c1b72e 100644 --- a/lib/versions/v2/Model/CreateManyDealProductResponse.php +++ b/lib/versions/v2/Model/CreateManyDealProductResponse.php @@ -2,7 +2,7 @@ /** * CreateManyDealProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreateOrganizationField.php b/lib/versions/v2/Model/CreateOrganizationField.php index 6cfa87b5..339accd5 100644 --- a/lib/versions/v2/Model/CreateOrganizationField.php +++ b/lib/versions/v2/Model/CreateOrganizationField.php @@ -2,7 +2,7 @@ /** * CreateOrganizationField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreateOrganizationFieldRequest.php b/lib/versions/v2/Model/CreateOrganizationFieldRequest.php index 29924149..aa3b4a0f 100644 --- a/lib/versions/v2/Model/CreateOrganizationFieldRequest.php +++ b/lib/versions/v2/Model/CreateOrganizationFieldRequest.php @@ -2,7 +2,7 @@ /** * CreateOrganizationFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -267,7 +267,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_type'] = $data['field_type'] ?? null; diff --git a/lib/versions/v2/Model/CreatePersonField.php b/lib/versions/v2/Model/CreatePersonField.php index 6806f398..7e5e0e7b 100644 --- a/lib/versions/v2/Model/CreatePersonField.php +++ b/lib/versions/v2/Model/CreatePersonField.php @@ -2,7 +2,7 @@ /** * CreatePersonField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreatePersonFieldRequest.php b/lib/versions/v2/Model/CreatePersonFieldRequest.php index 84051c79..e4832d46 100644 --- a/lib/versions/v2/Model/CreatePersonFieldRequest.php +++ b/lib/versions/v2/Model/CreatePersonFieldRequest.php @@ -2,7 +2,7 @@ /** * CreatePersonFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -267,7 +267,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_type'] = $data['field_type'] ?? null; diff --git a/lib/versions/v2/Model/CreateProductField.php b/lib/versions/v2/Model/CreateProductField.php index 61a3ab97..ecef5814 100644 --- a/lib/versions/v2/Model/CreateProductField.php +++ b/lib/versions/v2/Model/CreateProductField.php @@ -2,7 +2,7 @@ /** * CreateProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreateProductFieldRequest.php b/lib/versions/v2/Model/CreateProductFieldRequest.php index 8467b721..3e422d5d 100644 --- a/lib/versions/v2/Model/CreateProductFieldRequest.php +++ b/lib/versions/v2/Model/CreateProductFieldRequest.php @@ -2,7 +2,7 @@ /** * CreateProductFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -257,7 +257,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_type'] = $data['field_type'] ?? null; diff --git a/lib/versions/v2/Model/CreateProjectField.php b/lib/versions/v2/Model/CreateProjectField.php index 218fcdad..c221e434 100644 --- a/lib/versions/v2/Model/CreateProjectField.php +++ b/lib/versions/v2/Model/CreateProjectField.php @@ -2,7 +2,7 @@ /** * CreateProjectField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/CreateProjectFieldRequest.php b/lib/versions/v2/Model/CreateProjectFieldRequest.php index a144cbd8..c969b49c 100644 --- a/lib/versions/v2/Model/CreateProjectFieldRequest.php +++ b/lib/versions/v2/Model/CreateProjectFieldRequest.php @@ -2,7 +2,7 @@ /** * CreateProjectFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -267,7 +267,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_type'] = $data['field_type'] ?? null; diff --git a/lib/versions/v2/Model/Deal.php b/lib/versions/v2/Model/Deal.php index afeb31fd..9d72a3b1 100644 --- a/lib/versions/v2/Model/Deal.php +++ b/lib/versions/v2/Model/Deal.php @@ -2,7 +2,7 @@ /** * Deal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -352,7 +352,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/DealFieldItem.php b/lib/versions/v2/Model/DealFieldItem.php index 04694de9..abcdde76 100644 --- a/lib/versions/v2/Model/DealFieldItem.php +++ b/lib/versions/v2/Model/DealFieldItem.php @@ -2,7 +2,7 @@ /** * DealFieldItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -326,7 +326,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/DealFieldItemImportantFields.php b/lib/versions/v2/Model/DealFieldItemImportantFields.php index 1abaf637..7538e1c7 100644 --- a/lib/versions/v2/Model/DealFieldItemImportantFields.php +++ b/lib/versions/v2/Model/DealFieldItemImportantFields.php @@ -2,7 +2,7 @@ /** * DealFieldItemImportantFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; $this->container['stage_ids'] = $data['stage_ids'] ?? null; diff --git a/lib/versions/v2/Model/DealFieldItemRequiredFields.php b/lib/versions/v2/Model/DealFieldItemRequiredFields.php index bb106941..5f87b806 100644 --- a/lib/versions/v2/Model/DealFieldItemRequiredFields.php +++ b/lib/versions/v2/Model/DealFieldItemRequiredFields.php @@ -2,7 +2,7 @@ /** * DealFieldItemRequiredFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -225,7 +225,7 @@ public function getStatusesAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; $this->container['stage_ids'] = $data['stage_ids'] ?? null; diff --git a/lib/versions/v2/Model/DealFieldItemUiVisibility.php b/lib/versions/v2/Model/DealFieldItemUiVisibility.php index e68ba08d..d4a8f945 100644 --- a/lib/versions/v2/Model/DealFieldItemUiVisibility.php +++ b/lib/versions/v2/Model/DealFieldItemUiVisibility.php @@ -2,7 +2,7 @@ /** * DealFieldItemUiVisibility * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -213,7 +213,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_visible_flag'] = $data['add_visible_flag'] ?? null; $this->container['details_visible_flag'] = $data['details_visible_flag'] ?? null; diff --git a/lib/versions/v2/Model/DealFieldItemUiVisibilityShowInPipelines.php b/lib/versions/v2/Model/DealFieldItemUiVisibilityShowInPipelines.php index 50793113..080fd2c5 100644 --- a/lib/versions/v2/Model/DealFieldItemUiVisibilityShowInPipelines.php +++ b/lib/versions/v2/Model/DealFieldItemUiVisibilityShowInPipelines.php @@ -2,7 +2,7 @@ /** * DealFieldItemUiVisibilityShowInPipelines * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['show_in_all'] = $data['show_in_all'] ?? null; $this->container['pipeline_ids'] = $data['pipeline_ids'] ?? null; diff --git a/lib/versions/v2/Model/DealItem.php b/lib/versions/v2/Model/DealItem.php index 9716babf..4e5d88a8 100644 --- a/lib/versions/v2/Model/DealItem.php +++ b/lib/versions/v2/Model/DealItem.php @@ -2,7 +2,7 @@ /** * DealItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -352,7 +352,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/DealProductRequestBody.php b/lib/versions/v2/Model/DealProductRequestBody.php index cbc0be9c..0b5413e8 100644 --- a/lib/versions/v2/Model/DealProductRequestBody.php +++ b/lib/versions/v2/Model/DealProductRequestBody.php @@ -2,7 +2,7 @@ /** * DealProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -278,7 +278,7 @@ public function getDiscountTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['product_id'] = $data['product_id'] ?? null; $this->container['item_price'] = $data['item_price'] ?? null; diff --git a/lib/versions/v2/Model/DealRequestBody.php b/lib/versions/v2/Model/DealRequestBody.php index aca07fa3..248b0f22 100644 --- a/lib/versions/v2/Model/DealRequestBody.php +++ b/lib/versions/v2/Model/DealRequestBody.php @@ -2,7 +2,7 @@ /** * DealRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -297,7 +297,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v2/Model/DealSearchItem.php b/lib/versions/v2/Model/DealSearchItem.php index 537e4b80..a3554d70 100644 --- a/lib/versions/v2/Model/DealSearchItem.php +++ b/lib/versions/v2/Model/DealSearchItem.php @@ -2,7 +2,7 @@ /** * DealSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/DealSearchItemItem.php b/lib/versions/v2/Model/DealSearchItemItem.php index 5927a8a6..3b4a069f 100644 --- a/lib/versions/v2/Model/DealSearchItemItem.php +++ b/lib/versions/v2/Model/DealSearchItemItem.php @@ -2,7 +2,7 @@ /** * DealSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/DealSearchItemItemOrganization.php b/lib/versions/v2/Model/DealSearchItemItemOrganization.php index 42685a68..0ec481db 100644 --- a/lib/versions/v2/Model/DealSearchItemItemOrganization.php +++ b/lib/versions/v2/Model/DealSearchItemItemOrganization.php @@ -2,7 +2,7 @@ /** * DealSearchItemItemOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/DealSearchItemItemOwner.php b/lib/versions/v2/Model/DealSearchItemItemOwner.php index 60e5319f..79bb5aee 100644 --- a/lib/versions/v2/Model/DealSearchItemItemOwner.php +++ b/lib/versions/v2/Model/DealSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * DealSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DealSearchItemItemPerson.php b/lib/versions/v2/Model/DealSearchItemItemPerson.php index 3a97658f..42a73662 100644 --- a/lib/versions/v2/Model/DealSearchItemItemPerson.php +++ b/lib/versions/v2/Model/DealSearchItemItemPerson.php @@ -2,7 +2,7 @@ /** * DealSearchItemItemPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/DealSearchItemItemStage.php b/lib/versions/v2/Model/DealSearchItemItemStage.php index d55ea940..f9ecdd6c 100644 --- a/lib/versions/v2/Model/DealSearchItemItemStage.php +++ b/lib/versions/v2/Model/DealSearchItemItemStage.php @@ -2,7 +2,7 @@ /** * DealSearchItemItemStage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/DealsProductsResponse.php b/lib/versions/v2/Model/DealsProductsResponse.php index a67b92fb..a7775d67 100644 --- a/lib/versions/v2/Model/DealsProductsResponse.php +++ b/lib/versions/v2/Model/DealsProductsResponse.php @@ -2,7 +2,7 @@ /** * DealsProductsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteActivityResponse.php b/lib/versions/v2/Model/DeleteActivityResponse.php index 9aafecf8..8e37eae9 100644 --- a/lib/versions/v2/Model/DeleteActivityResponse.php +++ b/lib/versions/v2/Model/DeleteActivityResponse.php @@ -2,7 +2,7 @@ /** * DeleteActivityResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteActivityResponseData.php b/lib/versions/v2/Model/DeleteActivityResponseData.php index 06c53581..c233eba5 100644 --- a/lib/versions/v2/Model/DeleteActivityResponseData.php +++ b/lib/versions/v2/Model/DeleteActivityResponseData.php @@ -2,7 +2,7 @@ /** * DeleteActivityResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteAdditionalDiscountResponse.php b/lib/versions/v2/Model/DeleteAdditionalDiscountResponse.php index 6752e1a6..b4e95a4a 100644 --- a/lib/versions/v2/Model/DeleteAdditionalDiscountResponse.php +++ b/lib/versions/v2/Model/DeleteAdditionalDiscountResponse.php @@ -2,7 +2,7 @@ /** * DeleteAdditionalDiscountResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteAdditionalDiscountResponseData.php b/lib/versions/v2/Model/DeleteAdditionalDiscountResponseData.php index 16223f4a..5c90cbe9 100644 --- a/lib/versions/v2/Model/DeleteAdditionalDiscountResponseData.php +++ b/lib/versions/v2/Model/DeleteAdditionalDiscountResponseData.php @@ -2,7 +2,7 @@ /** * DeleteAdditionalDiscountResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteDealField.php b/lib/versions/v2/Model/DeleteDealField.php index 48d099b1..06335225 100644 --- a/lib/versions/v2/Model/DeleteDealField.php +++ b/lib/versions/v2/Model/DeleteDealField.php @@ -2,7 +2,7 @@ /** * DeleteDealField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteDealFieldData.php b/lib/versions/v2/Model/DeleteDealFieldData.php index 295e8974..bdbbc4bc 100644 --- a/lib/versions/v2/Model/DeleteDealFieldData.php +++ b/lib/versions/v2/Model/DeleteDealFieldData.php @@ -2,7 +2,7 @@ /** * DeleteDealFieldData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/DeleteDealProduct.php b/lib/versions/v2/Model/DeleteDealProduct.php index a2ac1dc9..b9f93ea0 100644 --- a/lib/versions/v2/Model/DeleteDealProduct.php +++ b/lib/versions/v2/Model/DeleteDealProduct.php @@ -2,7 +2,7 @@ /** * DeleteDealProduct * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteDealProductData.php b/lib/versions/v2/Model/DeleteDealProductData.php index 15f7567a..1019ef30 100644 --- a/lib/versions/v2/Model/DeleteDealProductData.php +++ b/lib/versions/v2/Model/DeleteDealProductData.php @@ -2,7 +2,7 @@ /** * DeleteDealProductData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteDealResponse.php b/lib/versions/v2/Model/DeleteDealResponse.php index 59f7b35d..f5e070f5 100644 --- a/lib/versions/v2/Model/DeleteDealResponse.php +++ b/lib/versions/v2/Model/DeleteDealResponse.php @@ -2,7 +2,7 @@ /** * DeleteDealResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteDealResponseData.php b/lib/versions/v2/Model/DeleteDealResponseData.php index 32d5b1d9..bcf845ec 100644 --- a/lib/versions/v2/Model/DeleteDealResponseData.php +++ b/lib/versions/v2/Model/DeleteDealResponseData.php @@ -2,7 +2,7 @@ /** * DeleteDealResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteFollowerResponse.php b/lib/versions/v2/Model/DeleteFollowerResponse.php index a2c5133e..f0b8a1fd 100644 --- a/lib/versions/v2/Model/DeleteFollowerResponse.php +++ b/lib/versions/v2/Model/DeleteFollowerResponse.php @@ -2,7 +2,7 @@ /** * DeleteFollowerResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteFollowerResponseData.php b/lib/versions/v2/Model/DeleteFollowerResponseData.php index 2d901de7..fd532cc4 100644 --- a/lib/versions/v2/Model/DeleteFollowerResponseData.php +++ b/lib/versions/v2/Model/DeleteFollowerResponseData.php @@ -2,7 +2,7 @@ /** * DeleteFollowerResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteInstallmentResponse.php b/lib/versions/v2/Model/DeleteInstallmentResponse.php index 3f4676fd..cf9df5d4 100644 --- a/lib/versions/v2/Model/DeleteInstallmentResponse.php +++ b/lib/versions/v2/Model/DeleteInstallmentResponse.php @@ -2,7 +2,7 @@ /** * DeleteInstallmentResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteInstallmentResponseData.php b/lib/versions/v2/Model/DeleteInstallmentResponseData.php index bffca271..2097ee7a 100644 --- a/lib/versions/v2/Model/DeleteInstallmentResponseData.php +++ b/lib/versions/v2/Model/DeleteInstallmentResponseData.php @@ -2,7 +2,7 @@ /** * DeleteInstallmentResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteManyDealProductResponse.php b/lib/versions/v2/Model/DeleteManyDealProductResponse.php index 6aa3d9df..ba852e29 100644 --- a/lib/versions/v2/Model/DeleteManyDealProductResponse.php +++ b/lib/versions/v2/Model/DeleteManyDealProductResponse.php @@ -2,7 +2,7 @@ /** * DeleteManyDealProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteManyDealProductResponseAdditionalData.php b/lib/versions/v2/Model/DeleteManyDealProductResponseAdditionalData.php index 115c9b48..aa195595 100644 --- a/lib/versions/v2/Model/DeleteManyDealProductResponseAdditionalData.php +++ b/lib/versions/v2/Model/DeleteManyDealProductResponseAdditionalData.php @@ -2,7 +2,7 @@ /** * DeleteManyDealProductResponseAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['more_items_in_collection'] = $data['more_items_in_collection'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteManyDealProductResponseData.php b/lib/versions/v2/Model/DeleteManyDealProductResponseData.php index d5ecb301..62cee2dd 100644 --- a/lib/versions/v2/Model/DeleteManyDealProductResponseData.php +++ b/lib/versions/v2/Model/DeleteManyDealProductResponseData.php @@ -2,7 +2,7 @@ /** * DeleteManyDealProductResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['ids'] = $data['ids'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteOrganizationField.php b/lib/versions/v2/Model/DeleteOrganizationField.php index f4d43321..ea539cc0 100644 --- a/lib/versions/v2/Model/DeleteOrganizationField.php +++ b/lib/versions/v2/Model/DeleteOrganizationField.php @@ -2,7 +2,7 @@ /** * DeleteOrganizationField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteOrganizationResponse.php b/lib/versions/v2/Model/DeleteOrganizationResponse.php index 0eca8f57..da27a514 100644 --- a/lib/versions/v2/Model/DeleteOrganizationResponse.php +++ b/lib/versions/v2/Model/DeleteOrganizationResponse.php @@ -2,7 +2,7 @@ /** * DeleteOrganizationResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteOrganizationResponseData.php b/lib/versions/v2/Model/DeleteOrganizationResponseData.php index 3297e9e5..b8568885 100644 --- a/lib/versions/v2/Model/DeleteOrganizationResponseData.php +++ b/lib/versions/v2/Model/DeleteOrganizationResponseData.php @@ -2,7 +2,7 @@ /** * DeleteOrganizationResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeletePersonField.php b/lib/versions/v2/Model/DeletePersonField.php index 0d1558f4..fde06ba2 100644 --- a/lib/versions/v2/Model/DeletePersonField.php +++ b/lib/versions/v2/Model/DeletePersonField.php @@ -2,7 +2,7 @@ /** * DeletePersonField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeletePersonFieldData.php b/lib/versions/v2/Model/DeletePersonFieldData.php index ad04ed94..787e8aa8 100644 --- a/lib/versions/v2/Model/DeletePersonFieldData.php +++ b/lib/versions/v2/Model/DeletePersonFieldData.php @@ -2,7 +2,7 @@ /** * DeletePersonFieldData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/DeletePersonResponse.php b/lib/versions/v2/Model/DeletePersonResponse.php index 116eef66..e0ad59a9 100644 --- a/lib/versions/v2/Model/DeletePersonResponse.php +++ b/lib/versions/v2/Model/DeletePersonResponse.php @@ -2,7 +2,7 @@ /** * DeletePersonResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeletePersonResponseData.php b/lib/versions/v2/Model/DeletePersonResponseData.php index 4cb74e22..21a34b57 100644 --- a/lib/versions/v2/Model/DeletePersonResponseData.php +++ b/lib/versions/v2/Model/DeletePersonResponseData.php @@ -2,7 +2,7 @@ /** * DeletePersonResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeletePipelineResponse.php b/lib/versions/v2/Model/DeletePipelineResponse.php index 5da80294..aa1212e8 100644 --- a/lib/versions/v2/Model/DeletePipelineResponse.php +++ b/lib/versions/v2/Model/DeletePipelineResponse.php @@ -2,7 +2,7 @@ /** * DeletePipelineResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeletePipelineResponseData.php b/lib/versions/v2/Model/DeletePipelineResponseData.php index b82a4836..bb144463 100644 --- a/lib/versions/v2/Model/DeletePipelineResponseData.php +++ b/lib/versions/v2/Model/DeletePipelineResponseData.php @@ -2,7 +2,7 @@ /** * DeletePipelineResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProductField.php b/lib/versions/v2/Model/DeleteProductField.php index 0f61fe81..bd98171a 100644 --- a/lib/versions/v2/Model/DeleteProductField.php +++ b/lib/versions/v2/Model/DeleteProductField.php @@ -2,7 +2,7 @@ /** * DeleteProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProductImageResponse.php b/lib/versions/v2/Model/DeleteProductImageResponse.php index aed8ad4a..a71bf56d 100644 --- a/lib/versions/v2/Model/DeleteProductImageResponse.php +++ b/lib/versions/v2/Model/DeleteProductImageResponse.php @@ -2,7 +2,7 @@ /** * DeleteProductImageResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProductImageResponseData.php b/lib/versions/v2/Model/DeleteProductImageResponseData.php index f33d7626..a3a4bb53 100644 --- a/lib/versions/v2/Model/DeleteProductImageResponseData.php +++ b/lib/versions/v2/Model/DeleteProductImageResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProductImageResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProductResponse.php b/lib/versions/v2/Model/DeleteProductResponse.php index f96baff6..1ef7f4e4 100644 --- a/lib/versions/v2/Model/DeleteProductResponse.php +++ b/lib/versions/v2/Model/DeleteProductResponse.php @@ -2,7 +2,7 @@ /** * DeleteProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProductResponseData.php b/lib/versions/v2/Model/DeleteProductResponseData.php index 7d3c0200..c7a7aff3 100644 --- a/lib/versions/v2/Model/DeleteProductResponseData.php +++ b/lib/versions/v2/Model/DeleteProductResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProductResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProductVariation.php b/lib/versions/v2/Model/DeleteProductVariation.php index b365f225..1b702fc7 100644 --- a/lib/versions/v2/Model/DeleteProductVariation.php +++ b/lib/versions/v2/Model/DeleteProductVariation.php @@ -2,7 +2,7 @@ /** * DeleteProductVariation * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProductVariationData.php b/lib/versions/v2/Model/DeleteProductVariationData.php index aebdd926..b147d060 100644 --- a/lib/versions/v2/Model/DeleteProductVariationData.php +++ b/lib/versions/v2/Model/DeleteProductVariationData.php @@ -2,7 +2,7 @@ /** * DeleteProductVariationData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProjectBoardResponse.php b/lib/versions/v2/Model/DeleteProjectBoardResponse.php index b4c1b28c..742ff850 100644 --- a/lib/versions/v2/Model/DeleteProjectBoardResponse.php +++ b/lib/versions/v2/Model/DeleteProjectBoardResponse.php @@ -2,7 +2,7 @@ /** * DeleteProjectBoardResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProjectBoardResponseData.php b/lib/versions/v2/Model/DeleteProjectBoardResponseData.php index 496ba4ba..cadc1f73 100644 --- a/lib/versions/v2/Model/DeleteProjectBoardResponseData.php +++ b/lib/versions/v2/Model/DeleteProjectBoardResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProjectBoardResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProjectField.php b/lib/versions/v2/Model/DeleteProjectField.php index 05f6d1d2..c3fa51e0 100644 --- a/lib/versions/v2/Model/DeleteProjectField.php +++ b/lib/versions/v2/Model/DeleteProjectField.php @@ -2,7 +2,7 @@ /** * DeleteProjectField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProjectFieldData.php b/lib/versions/v2/Model/DeleteProjectFieldData.php index e7e91fef..85cfa754 100644 --- a/lib/versions/v2/Model/DeleteProjectFieldData.php +++ b/lib/versions/v2/Model/DeleteProjectFieldData.php @@ -2,7 +2,7 @@ /** * DeleteProjectFieldData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProjectPhaseResponse.php b/lib/versions/v2/Model/DeleteProjectPhaseResponse.php index b11729a0..3250cfb8 100644 --- a/lib/versions/v2/Model/DeleteProjectPhaseResponse.php +++ b/lib/versions/v2/Model/DeleteProjectPhaseResponse.php @@ -2,7 +2,7 @@ /** * DeleteProjectPhaseResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProjectPhaseResponseData.php b/lib/versions/v2/Model/DeleteProjectPhaseResponseData.php index cf532e12..9f33ebd8 100644 --- a/lib/versions/v2/Model/DeleteProjectPhaseResponseData.php +++ b/lib/versions/v2/Model/DeleteProjectPhaseResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProjectPhaseResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteProjectResponse.php b/lib/versions/v2/Model/DeleteProjectResponse.php index ebbb8bb4..08747078 100644 --- a/lib/versions/v2/Model/DeleteProjectResponse.php +++ b/lib/versions/v2/Model/DeleteProjectResponse.php @@ -2,7 +2,7 @@ /** * DeleteProjectResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteProjectResponseData.php b/lib/versions/v2/Model/DeleteProjectResponseData.php index 88a2a5fa..88f02af3 100644 --- a/lib/versions/v2/Model/DeleteProjectResponseData.php +++ b/lib/versions/v2/Model/DeleteProjectResponseData.php @@ -2,7 +2,7 @@ /** * DeleteProjectResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteStageResponse.php b/lib/versions/v2/Model/DeleteStageResponse.php index 53cc486e..bd7f333d 100644 --- a/lib/versions/v2/Model/DeleteStageResponse.php +++ b/lib/versions/v2/Model/DeleteStageResponse.php @@ -2,7 +2,7 @@ /** * DeleteStageResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteStageResponseData.php b/lib/versions/v2/Model/DeleteStageResponseData.php index a8d88099..24779f25 100644 --- a/lib/versions/v2/Model/DeleteStageResponseData.php +++ b/lib/versions/v2/Model/DeleteStageResponseData.php @@ -2,7 +2,7 @@ /** * DeleteStageResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/DeleteTaskResponse.php b/lib/versions/v2/Model/DeleteTaskResponse.php index 3fbf5a39..d3abb957 100644 --- a/lib/versions/v2/Model/DeleteTaskResponse.php +++ b/lib/versions/v2/Model/DeleteTaskResponse.php @@ -2,7 +2,7 @@ /** * DeleteTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/DeleteTaskResponseData.php b/lib/versions/v2/Model/DeleteTaskResponseData.php index d28d7e1b..08695062 100644 --- a/lib/versions/v2/Model/DeleteTaskResponseData.php +++ b/lib/versions/v2/Model/DeleteTaskResponseData.php @@ -2,7 +2,7 @@ /** * DeleteTaskResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/FieldOption.php b/lib/versions/v2/Model/FieldOption.php index ae2365a9..b00a2e69 100644 --- a/lib/versions/v2/Model/FieldOption.php +++ b/lib/versions/v2/Model/FieldOption.php @@ -2,7 +2,7 @@ /** * FieldOption * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/lib/versions/v2/Model/FollowerChangelogItem.php b/lib/versions/v2/Model/FollowerChangelogItem.php index bb8cba05..dc76dbb3 100644 --- a/lib/versions/v2/Model/FollowerChangelogItem.php +++ b/lib/versions/v2/Model/FollowerChangelogItem.php @@ -2,7 +2,7 @@ /** * FollowerChangelogItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['action'] = $data['action'] ?? null; $this->container['actor_user_id'] = $data['actor_user_id'] ?? null; diff --git a/lib/versions/v2/Model/FollowerItem.php b/lib/versions/v2/Model/FollowerItem.php index fa13c35e..eb21f358 100644 --- a/lib/versions/v2/Model/FollowerItem.php +++ b/lib/versions/v2/Model/FollowerItem.php @@ -2,7 +2,7 @@ /** * FollowerItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; $this->container['add_time'] = $data['add_time'] ?? null; diff --git a/lib/versions/v2/Model/FollowerRequestBody.php b/lib/versions/v2/Model/FollowerRequestBody.php index a1edd368..4ac373b6 100644 --- a/lib/versions/v2/Model/FollowerRequestBody.php +++ b/lib/versions/v2/Model/FollowerRequestBody.php @@ -2,7 +2,7 @@ /** * FollowerRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user_id'] = $data['user_id'] ?? null; } diff --git a/lib/versions/v2/Model/GetActivities.php b/lib/versions/v2/Model/GetActivities.php index 25d7016f..22fc5dc9 100644 --- a/lib/versions/v2/Model/GetActivities.php +++ b/lib/versions/v2/Model/GetActivities.php @@ -2,7 +2,7 @@ /** * GetActivities * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetActivitiesAllOf.php b/lib/versions/v2/Model/GetActivitiesAllOf.php index a00adb42..e01c3bda 100644 --- a/lib/versions/v2/Model/GetActivitiesAllOf.php +++ b/lib/versions/v2/Model/GetActivitiesAllOf.php @@ -2,7 +2,7 @@ /** * GetActivitiesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetActivityField.php b/lib/versions/v2/Model/GetActivityField.php index b3c363f7..9188caff 100644 --- a/lib/versions/v2/Model/GetActivityField.php +++ b/lib/versions/v2/Model/GetActivityField.php @@ -2,7 +2,7 @@ /** * GetActivityField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetActivityFields.php b/lib/versions/v2/Model/GetActivityFields.php index 85997c8e..c0d22854 100644 --- a/lib/versions/v2/Model/GetActivityFields.php +++ b/lib/versions/v2/Model/GetActivityFields.php @@ -2,7 +2,7 @@ /** * GetActivityFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetActivityFieldsAdditionalData.php b/lib/versions/v2/Model/GetActivityFieldsAdditionalData.php index 1127c303..66aea8cb 100644 --- a/lib/versions/v2/Model/GetActivityFieldsAdditionalData.php +++ b/lib/versions/v2/Model/GetActivityFieldsAdditionalData.php @@ -2,7 +2,7 @@ /** * GetActivityFieldsAdditionalData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next_cursor'] = $data['next_cursor'] ?? null; } diff --git a/lib/versions/v2/Model/GetBoards.php b/lib/versions/v2/Model/GetBoards.php index ac2e6396..469fc0a6 100644 --- a/lib/versions/v2/Model/GetBoards.php +++ b/lib/versions/v2/Model/GetBoards.php @@ -2,7 +2,7 @@ /** * GetBoards * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetConvertResponse.php b/lib/versions/v2/Model/GetConvertResponse.php index ce047c49..cf53bbb4 100644 --- a/lib/versions/v2/Model/GetConvertResponse.php +++ b/lib/versions/v2/Model/GetConvertResponse.php @@ -2,7 +2,7 @@ /** * GetConvertResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['error'] = $data['error'] ?? null; diff --git a/lib/versions/v2/Model/GetDealField.php b/lib/versions/v2/Model/GetDealField.php index 13ced00a..9c46ce0a 100644 --- a/lib/versions/v2/Model/GetDealField.php +++ b/lib/versions/v2/Model/GetDealField.php @@ -2,7 +2,7 @@ /** * GetDealField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetDealFields.php b/lib/versions/v2/Model/GetDealFields.php index c19357a3..33050f71 100644 --- a/lib/versions/v2/Model/GetDealFields.php +++ b/lib/versions/v2/Model/GetDealFields.php @@ -2,7 +2,7 @@ /** * GetDealFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetDealSearchResponse.php b/lib/versions/v2/Model/GetDealSearchResponse.php index 3a222758..caa0d59c 100644 --- a/lib/versions/v2/Model/GetDealSearchResponse.php +++ b/lib/versions/v2/Model/GetDealSearchResponse.php @@ -2,7 +2,7 @@ /** * GetDealSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetDealSearchResponseAllOf.php b/lib/versions/v2/Model/GetDealSearchResponseAllOf.php index 52945219..41d565e6 100644 --- a/lib/versions/v2/Model/GetDealSearchResponseAllOf.php +++ b/lib/versions/v2/Model/GetDealSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * GetDealSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetDealSearchResponseAllOfData.php b/lib/versions/v2/Model/GetDealSearchResponseAllOfData.php index 32573589..1338b2da 100644 --- a/lib/versions/v2/Model/GetDealSearchResponseAllOfData.php +++ b/lib/versions/v2/Model/GetDealSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * GetDealSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/GetDeals.php b/lib/versions/v2/Model/GetDeals.php index 466824af..10bf71fa 100644 --- a/lib/versions/v2/Model/GetDeals.php +++ b/lib/versions/v2/Model/GetDeals.php @@ -2,7 +2,7 @@ /** * GetDeals * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetDealsAllOf.php b/lib/versions/v2/Model/GetDealsAllOf.php index 788e54a6..9605ebf6 100644 --- a/lib/versions/v2/Model/GetDealsAllOf.php +++ b/lib/versions/v2/Model/GetDealsAllOf.php @@ -2,7 +2,7 @@ /** * GetDealsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetFollowerChangelogs.php b/lib/versions/v2/Model/GetFollowerChangelogs.php index bb05da53..dd99e114 100644 --- a/lib/versions/v2/Model/GetFollowerChangelogs.php +++ b/lib/versions/v2/Model/GetFollowerChangelogs.php @@ -2,7 +2,7 @@ /** * GetFollowerChangelogs * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetFollowerChangelogsAllOf.php b/lib/versions/v2/Model/GetFollowerChangelogsAllOf.php index 269b70ac..9ad480a8 100644 --- a/lib/versions/v2/Model/GetFollowerChangelogsAllOf.php +++ b/lib/versions/v2/Model/GetFollowerChangelogsAllOf.php @@ -2,7 +2,7 @@ /** * GetFollowerChangelogsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetFollowers.php b/lib/versions/v2/Model/GetFollowers.php index e4b07789..6041d28e 100644 --- a/lib/versions/v2/Model/GetFollowers.php +++ b/lib/versions/v2/Model/GetFollowers.php @@ -2,7 +2,7 @@ /** * GetFollowers * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetFollowersAllOf.php b/lib/versions/v2/Model/GetFollowersAllOf.php index 3aaead02..cd6193a8 100644 --- a/lib/versions/v2/Model/GetFollowersAllOf.php +++ b/lib/versions/v2/Model/GetFollowersAllOf.php @@ -2,7 +2,7 @@ /** * GetFollowersAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetItemSearchResponseData.php b/lib/versions/v2/Model/GetItemSearchResponseData.php index 8a1d4c1f..f9f9128c 100644 --- a/lib/versions/v2/Model/GetItemSearchResponseData.php +++ b/lib/versions/v2/Model/GetItemSearchResponseData.php @@ -2,7 +2,7 @@ /** * GetItemSearchResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetItemSearchResponseDataData.php b/lib/versions/v2/Model/GetItemSearchResponseDataData.php index 9d7d0b18..c0a2ae66 100644 --- a/lib/versions/v2/Model/GetItemSearchResponseDataData.php +++ b/lib/versions/v2/Model/GetItemSearchResponseDataData.php @@ -2,7 +2,7 @@ /** * GetItemSearchResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; $this->container['related_items'] = $data['related_items'] ?? null; diff --git a/lib/versions/v2/Model/GetLeadSearchResponseData.php b/lib/versions/v2/Model/GetLeadSearchResponseData.php index 004674c6..b9460def 100644 --- a/lib/versions/v2/Model/GetLeadSearchResponseData.php +++ b/lib/versions/v2/Model/GetLeadSearchResponseData.php @@ -2,7 +2,7 @@ /** * GetLeadSearchResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetLeadSearchResponseDataData.php b/lib/versions/v2/Model/GetLeadSearchResponseDataData.php index 7035ab2b..336ab259 100644 --- a/lib/versions/v2/Model/GetLeadSearchResponseDataData.php +++ b/lib/versions/v2/Model/GetLeadSearchResponseDataData.php @@ -2,7 +2,7 @@ /** * GetLeadSearchResponseDataData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/GetOrganizationField.php b/lib/versions/v2/Model/GetOrganizationField.php index aa3e051c..b28000a2 100644 --- a/lib/versions/v2/Model/GetOrganizationField.php +++ b/lib/versions/v2/Model/GetOrganizationField.php @@ -2,7 +2,7 @@ /** * GetOrganizationField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetOrganizationFields.php b/lib/versions/v2/Model/GetOrganizationFields.php index f1e5fedc..b4762167 100644 --- a/lib/versions/v2/Model/GetOrganizationFields.php +++ b/lib/versions/v2/Model/GetOrganizationFields.php @@ -2,7 +2,7 @@ /** * GetOrganizationFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetOrganizationSearchResponse.php b/lib/versions/v2/Model/GetOrganizationSearchResponse.php index 5e260085..e8fcf23c 100644 --- a/lib/versions/v2/Model/GetOrganizationSearchResponse.php +++ b/lib/versions/v2/Model/GetOrganizationSearchResponse.php @@ -2,7 +2,7 @@ /** * GetOrganizationSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetOrganizationSearchResponseAllOf.php b/lib/versions/v2/Model/GetOrganizationSearchResponseAllOf.php index b304b986..16219ca9 100644 --- a/lib/versions/v2/Model/GetOrganizationSearchResponseAllOf.php +++ b/lib/versions/v2/Model/GetOrganizationSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * GetOrganizationSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetOrganizationSearchResponseAllOfData.php b/lib/versions/v2/Model/GetOrganizationSearchResponseAllOfData.php index 86ba0205..0236edf9 100644 --- a/lib/versions/v2/Model/GetOrganizationSearchResponseAllOfData.php +++ b/lib/versions/v2/Model/GetOrganizationSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * GetOrganizationSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/GetOrganizations.php b/lib/versions/v2/Model/GetOrganizations.php index 6e5af63d..a0671627 100644 --- a/lib/versions/v2/Model/GetOrganizations.php +++ b/lib/versions/v2/Model/GetOrganizations.php @@ -2,7 +2,7 @@ /** * GetOrganizations * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetOrganizationsAllOf.php b/lib/versions/v2/Model/GetOrganizationsAllOf.php index 1addd24d..23d24449 100644 --- a/lib/versions/v2/Model/GetOrganizationsAllOf.php +++ b/lib/versions/v2/Model/GetOrganizationsAllOf.php @@ -2,7 +2,7 @@ /** * GetOrganizationsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetPersonField.php b/lib/versions/v2/Model/GetPersonField.php index b70e963e..90804a46 100644 --- a/lib/versions/v2/Model/GetPersonField.php +++ b/lib/versions/v2/Model/GetPersonField.php @@ -2,7 +2,7 @@ /** * GetPersonField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetPersonFields.php b/lib/versions/v2/Model/GetPersonFields.php index fd25c9f9..2eaadd56 100644 --- a/lib/versions/v2/Model/GetPersonFields.php +++ b/lib/versions/v2/Model/GetPersonFields.php @@ -2,7 +2,7 @@ /** * GetPersonFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetPersons.php b/lib/versions/v2/Model/GetPersons.php index 9dc8eac6..9be9de71 100644 --- a/lib/versions/v2/Model/GetPersons.php +++ b/lib/versions/v2/Model/GetPersons.php @@ -2,7 +2,7 @@ /** * GetPersons * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetPersonsAllOf.php b/lib/versions/v2/Model/GetPersonsAllOf.php index f43b5ac1..c1003318 100644 --- a/lib/versions/v2/Model/GetPersonsAllOf.php +++ b/lib/versions/v2/Model/GetPersonsAllOf.php @@ -2,7 +2,7 @@ /** * GetPersonsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetPhases.php b/lib/versions/v2/Model/GetPhases.php index e52e5a7d..2db27bb5 100644 --- a/lib/versions/v2/Model/GetPhases.php +++ b/lib/versions/v2/Model/GetPhases.php @@ -2,7 +2,7 @@ /** * GetPhases * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetPipelines.php b/lib/versions/v2/Model/GetPipelines.php index 64068478..de384782 100644 --- a/lib/versions/v2/Model/GetPipelines.php +++ b/lib/versions/v2/Model/GetPipelines.php @@ -2,7 +2,7 @@ /** * GetPipelines * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetPipelinesAllOf.php b/lib/versions/v2/Model/GetPipelinesAllOf.php index a3767ad6..e038c004 100644 --- a/lib/versions/v2/Model/GetPipelinesAllOf.php +++ b/lib/versions/v2/Model/GetPipelinesAllOf.php @@ -2,7 +2,7 @@ /** * GetPipelinesAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetProductField.php b/lib/versions/v2/Model/GetProductField.php index 9ca1b1b0..8159a7e6 100644 --- a/lib/versions/v2/Model/GetProductField.php +++ b/lib/versions/v2/Model/GetProductField.php @@ -2,7 +2,7 @@ /** * GetProductField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProductFields.php b/lib/versions/v2/Model/GetProductFields.php index dd3e5755..9f16d8c3 100644 --- a/lib/versions/v2/Model/GetProductFields.php +++ b/lib/versions/v2/Model/GetProductFields.php @@ -2,7 +2,7 @@ /** * GetProductFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectField.php b/lib/versions/v2/Model/GetProjectField.php index 245b8819..4fbe5c33 100644 --- a/lib/versions/v2/Model/GetProjectField.php +++ b/lib/versions/v2/Model/GetProjectField.php @@ -2,7 +2,7 @@ /** * GetProjectField * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectFields.php b/lib/versions/v2/Model/GetProjectFields.php index 2b21caec..684fce01 100644 --- a/lib/versions/v2/Model/GetProjectFields.php +++ b/lib/versions/v2/Model/GetProjectFields.php @@ -2,7 +2,7 @@ /** * GetProjectFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectPermittedUsersResponse.php b/lib/versions/v2/Model/GetProjectPermittedUsersResponse.php index 0fe566fd..e519d572 100644 --- a/lib/versions/v2/Model/GetProjectPermittedUsersResponse.php +++ b/lib/versions/v2/Model/GetProjectPermittedUsersResponse.php @@ -2,7 +2,7 @@ /** * GetProjectPermittedUsersResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectTemplateResponse.php b/lib/versions/v2/Model/GetProjectTemplateResponse.php index 5e7c23fd..3031124b 100644 --- a/lib/versions/v2/Model/GetProjectTemplateResponse.php +++ b/lib/versions/v2/Model/GetProjectTemplateResponse.php @@ -2,7 +2,7 @@ /** * GetProjectTemplateResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectTemplatesResponse.php b/lib/versions/v2/Model/GetProjectTemplatesResponse.php index f700b2aa..8bf8fa4f 100644 --- a/lib/versions/v2/Model/GetProjectTemplatesResponse.php +++ b/lib/versions/v2/Model/GetProjectTemplatesResponse.php @@ -2,7 +2,7 @@ /** * GetProjectTemplatesResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjects.php b/lib/versions/v2/Model/GetProjects.php index de61d1d2..3b4ae07d 100644 --- a/lib/versions/v2/Model/GetProjects.php +++ b/lib/versions/v2/Model/GetProjects.php @@ -2,7 +2,7 @@ /** * GetProjects * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetProjectsAllOf.php b/lib/versions/v2/Model/GetProjectsAllOf.php index 43d00e38..26d84772 100644 --- a/lib/versions/v2/Model/GetProjectsAllOf.php +++ b/lib/versions/v2/Model/GetProjectsAllOf.php @@ -2,7 +2,7 @@ /** * GetProjectsAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/GetStages.php b/lib/versions/v2/Model/GetStages.php index b43e20e1..a4ca61e1 100644 --- a/lib/versions/v2/Model/GetStages.php +++ b/lib/versions/v2/Model/GetStages.php @@ -2,7 +2,7 @@ /** * GetStages * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetTaskResponse.php b/lib/versions/v2/Model/GetTaskResponse.php index b15d5ceb..80f76e6d 100644 --- a/lib/versions/v2/Model/GetTaskResponse.php +++ b/lib/versions/v2/Model/GetTaskResponse.php @@ -2,7 +2,7 @@ /** * GetTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/GetTasksResponse.php b/lib/versions/v2/Model/GetTasksResponse.php index cbd2c734..83eb8499 100644 --- a/lib/versions/v2/Model/GetTasksResponse.php +++ b/lib/versions/v2/Model/GetTasksResponse.php @@ -2,7 +2,7 @@ /** * GetTasksResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/InlineObject.php b/lib/versions/v2/Model/InlineObject.php index d1af4c6d..295dc1b5 100644 --- a/lib/versions/v2/Model/InlineObject.php +++ b/lib/versions/v2/Model/InlineObject.php @@ -2,7 +2,7 @@ /** * InlineObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stage_id'] = $data['stage_id'] ?? null; $this->container['pipeline_id'] = $data['pipeline_id'] ?? null; diff --git a/lib/versions/v2/Model/InlineResponse200.php b/lib/versions/v2/Model/InlineResponse200.php index 1515bc92..4f8f56ad 100644 --- a/lib/versions/v2/Model/InlineResponse200.php +++ b/lib/versions/v2/Model/InlineResponse200.php @@ -2,7 +2,7 @@ /** * InlineResponse200 * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/InstallmentRequestBody.php b/lib/versions/v2/Model/InstallmentRequestBody.php index 318f2e6d..dec7e15f 100644 --- a/lib/versions/v2/Model/InstallmentRequestBody.php +++ b/lib/versions/v2/Model/InstallmentRequestBody.php @@ -2,7 +2,7 @@ /** * InstallmentRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['description'] = $data['description'] ?? null; $this->container['amount'] = $data['amount'] ?? null; diff --git a/lib/versions/v2/Model/InstallmentsResponse.php b/lib/versions/v2/Model/InstallmentsResponse.php index c21aa910..48c1fb18 100644 --- a/lib/versions/v2/Model/InstallmentsResponse.php +++ b/lib/versions/v2/Model/InstallmentsResponse.php @@ -2,7 +2,7 @@ /** * InstallmentsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ItemSearchFieldResponse.php b/lib/versions/v2/Model/ItemSearchFieldResponse.php index 8441f680..0ae3b72e 100644 --- a/lib/versions/v2/Model/ItemSearchFieldResponse.php +++ b/lib/versions/v2/Model/ItemSearchFieldResponse.php @@ -2,7 +2,7 @@ /** * ItemSearchFieldResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ItemSearchFieldResponseAllOf.php b/lib/versions/v2/Model/ItemSearchFieldResponseAllOf.php index 46571ef7..de92e71b 100644 --- a/lib/versions/v2/Model/ItemSearchFieldResponseAllOf.php +++ b/lib/versions/v2/Model/ItemSearchFieldResponseAllOf.php @@ -2,7 +2,7 @@ /** * ItemSearchFieldResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/ItemSearchItem.php b/lib/versions/v2/Model/ItemSearchItem.php index ea61af39..726d056c 100644 --- a/lib/versions/v2/Model/ItemSearchItem.php +++ b/lib/versions/v2/Model/ItemSearchItem.php @@ -2,7 +2,7 @@ /** * ItemSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/ItemSearchResponse.php b/lib/versions/v2/Model/ItemSearchResponse.php index 914f682a..1b5ef1d0 100644 --- a/lib/versions/v2/Model/ItemSearchResponse.php +++ b/lib/versions/v2/Model/ItemSearchResponse.php @@ -2,7 +2,7 @@ /** * ItemSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/LeadSearchItem.php b/lib/versions/v2/Model/LeadSearchItem.php index 7d247a0b..2ae6be45 100644 --- a/lib/versions/v2/Model/LeadSearchItem.php +++ b/lib/versions/v2/Model/LeadSearchItem.php @@ -2,7 +2,7 @@ /** * LeadSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/LeadSearchItemItem.php b/lib/versions/v2/Model/LeadSearchItemItem.php index 010930f7..17bbd003 100644 --- a/lib/versions/v2/Model/LeadSearchItemItem.php +++ b/lib/versions/v2/Model/LeadSearchItemItem.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/LeadSearchItemItemOrganization.php b/lib/versions/v2/Model/LeadSearchItemItemOrganization.php index f9e74f6f..a060c052 100644 --- a/lib/versions/v2/Model/LeadSearchItemItemOrganization.php +++ b/lib/versions/v2/Model/LeadSearchItemItemOrganization.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/LeadSearchItemItemOwner.php b/lib/versions/v2/Model/LeadSearchItemItemOwner.php index 5e28ece7..82266bc5 100644 --- a/lib/versions/v2/Model/LeadSearchItemItemOwner.php +++ b/lib/versions/v2/Model/LeadSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/LeadSearchItemItemPerson.php b/lib/versions/v2/Model/LeadSearchItemItemPerson.php index ce644649..6a192b38 100644 --- a/lib/versions/v2/Model/LeadSearchItemItemPerson.php +++ b/lib/versions/v2/Model/LeadSearchItemItemPerson.php @@ -2,7 +2,7 @@ /** * LeadSearchItemItemPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/LeadSearchResponse.php b/lib/versions/v2/Model/LeadSearchResponse.php index 92219da0..0a32b711 100644 --- a/lib/versions/v2/Model/LeadSearchResponse.php +++ b/lib/versions/v2/Model/LeadSearchResponse.php @@ -2,7 +2,7 @@ /** * LeadSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ModelInterface.php b/lib/versions/v2/Model/ModelInterface.php index b9c998c6..3653b666 100644 --- a/lib/versions/v2/Model/ModelInterface.php +++ b/lib/versions/v2/Model/ModelInterface.php @@ -2,7 +2,7 @@ /** * ModelInterface * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2\Model diff --git a/lib/versions/v2/Model/NameObject.php b/lib/versions/v2/Model/NameObject.php index de43e219..8a1682e8 100644 --- a/lib/versions/v2/Model/NameObject.php +++ b/lib/versions/v2/Model/NameObject.php @@ -2,7 +2,7 @@ /** * NameObject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; } diff --git a/lib/versions/v2/Model/NewDealProductRequestBody.php b/lib/versions/v2/Model/NewDealProductRequestBody.php index 06a15544..11ecf55a 100644 --- a/lib/versions/v2/Model/NewDealProductRequestBody.php +++ b/lib/versions/v2/Model/NewDealProductRequestBody.php @@ -2,7 +2,7 @@ /** * NewDealProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -78,7 +78,7 @@ class NewDealProductRequestBody implements ModelInterface, ArrayAccess, JsonSeri 'product_variation_id' => 'int', 'billing_frequency' => '\Pipedrive\versions\v2\Model\BillingFrequency', 'billing_frequency_cycles' => 'int', - 'billing_start_date' => 'string' + 'billing_start_date' => '\DateTime' ]; /** @@ -101,7 +101,7 @@ class NewDealProductRequestBody implements ModelInterface, ArrayAccess, JsonSeri 'product_variation_id' => null, 'billing_frequency' => null, 'billing_frequency_cycles' => null, - 'billing_start_date' => 'YYYY-MM-DD' + 'billing_start_date' => 'date' ]; /** @@ -293,7 +293,7 @@ public function getDiscountTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['product_id'] = $data['product_id'] ?? null; $this->container['item_price'] = $data['item_price'] ?? null; @@ -674,7 +674,7 @@ public function setBillingFrequencyCycles($billing_frequency_cycles): self /** * Gets billing_start_date * - * @return string|null + * @return \DateTime|null */ public function getBillingStartDate() { @@ -684,7 +684,7 @@ public function getBillingStartDate() /** * Sets billing_start_date * - * @param string|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future + * @param \DateTime|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future * * @return self */ diff --git a/lib/versions/v2/Model/OrganizationFieldItem.php b/lib/versions/v2/Model/OrganizationFieldItem.php index 0ff67307..719e1b78 100644 --- a/lib/versions/v2/Model/OrganizationFieldItem.php +++ b/lib/versions/v2/Model/OrganizationFieldItem.php @@ -2,7 +2,7 @@ /** * OrganizationFieldItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -321,7 +321,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationFieldItemUiVisibility.php b/lib/versions/v2/Model/OrganizationFieldItemUiVisibility.php index 7d19483b..9b8407f1 100644 --- a/lib/versions/v2/Model/OrganizationFieldItemUiVisibility.php +++ b/lib/versions/v2/Model/OrganizationFieldItemUiVisibility.php @@ -2,7 +2,7 @@ /** * OrganizationFieldItemUiVisibility * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_visible_flag'] = $data['add_visible_flag'] ?? null; $this->container['details_visible_flag'] = $data['details_visible_flag'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationFieldItemUiVisibilityShowInAddPersonDialog.php b/lib/versions/v2/Model/OrganizationFieldItemUiVisibilityShowInAddPersonDialog.php index 2870ce68..8a1117f2 100644 --- a/lib/versions/v2/Model/OrganizationFieldItemUiVisibilityShowInAddPersonDialog.php +++ b/lib/versions/v2/Model/OrganizationFieldItemUiVisibilityShowInAddPersonDialog.php @@ -2,7 +2,7 @@ /** * OrganizationFieldItemUiVisibilityShowInAddPersonDialog * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['show'] = $data['show'] ?? null; $this->container['order'] = $data['order'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationItem.php b/lib/versions/v2/Model/OrganizationItem.php index 8c9575a1..9499030f 100644 --- a/lib/versions/v2/Model/OrganizationItem.php +++ b/lib/versions/v2/Model/OrganizationItem.php @@ -2,7 +2,7 @@ /** * OrganizationItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -75,6 +75,11 @@ class OrganizationItem implements ModelInterface, ArrayAccess, JsonSerializable 'visible_to' => 'int', 'address' => '\Pipedrive\versions\v2\Model\OrganizationItemAddress', 'label_ids' => 'int[]', + 'website' => 'string', + 'linkedin' => 'string', + 'industry' => 'int', + 'annual_revenue' => 'int', + 'employee_count' => 'int', 'custom_fields' => 'array' ]; @@ -95,6 +100,11 @@ class OrganizationItem implements ModelInterface, ArrayAccess, JsonSerializable 'visible_to' => null, 'address' => null, 'label_ids' => null, + 'website' => null, + 'linkedin' => null, + 'industry' => null, + 'annual_revenue' => null, + 'employee_count' => null, 'custom_fields' => null ]; @@ -138,6 +148,11 @@ public static function openAPIFormats(): array 'visible_to' => 'visible_to', 'address' => 'address', 'label_ids' => 'label_ids', + 'website' => 'website', + 'linkedin' => 'linkedin', + 'industry' => 'industry', + 'annual_revenue' => 'annual_revenue', + 'employee_count' => 'employee_count', 'custom_fields' => 'custom_fields' ]; @@ -156,6 +171,11 @@ public static function openAPIFormats(): array 'visible_to' => 'setVisibleTo', 'address' => 'setAddress', 'label_ids' => 'setLabelIds', + 'website' => 'setWebsite', + 'linkedin' => 'setLinkedin', + 'industry' => 'setIndustry', + 'annual_revenue' => 'setAnnualRevenue', + 'employee_count' => 'setEmployeeCount', 'custom_fields' => 'setCustomFields' ]; @@ -174,6 +194,11 @@ public static function openAPIFormats(): array 'visible_to' => 'getVisibleTo', 'address' => 'getAddress', 'label_ids' => 'getLabelIds', + 'website' => 'getWebsite', + 'linkedin' => 'getLinkedin', + 'industry' => 'getIndustry', + 'annual_revenue' => 'getAnnualRevenue', + 'employee_count' => 'getEmployeeCount', 'custom_fields' => 'getCustomFields' ]; @@ -242,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; @@ -253,6 +278,11 @@ public function __construct(array $data = null) $this->container['visible_to'] = $data['visible_to'] ?? null; $this->container['address'] = $data['address'] ?? null; $this->container['label_ids'] = $data['label_ids'] ?? null; + $this->container['website'] = $data['website'] ?? null; + $this->container['linkedin'] = $data['linkedin'] ?? null; + $this->container['industry'] = $data['industry'] ?? null; + $this->container['annual_revenue'] = $data['annual_revenue'] ?? null; + $this->container['employee_count'] = $data['employee_count'] ?? null; $this->container['custom_fields'] = $data['custom_fields'] ?? null; } @@ -498,6 +528,126 @@ public function setLabelIds($label_ids): self return $this; } + /** + * Gets website + * + * @return string|null + */ + public function getWebsite() + { + return $this->container['website']; + } + + /** + * Sets website + * + * @param string|null $website The website of the organization + * + * @return self + */ + public function setWebsite($website): self + { + $this->container['website'] = $website; + + return $this; + } + + /** + * Gets linkedin + * + * @return string|null + */ + public function getLinkedin() + { + return $this->container['linkedin']; + } + + /** + * Sets linkedin + * + * @param string|null $linkedin The LinkedIn profile URL of the organization + * + * @return self + */ + public function setLinkedin($linkedin): self + { + $this->container['linkedin'] = $linkedin; + + return $this; + } + + /** + * Gets industry + * + * @return int|null + */ + public function getIndustry() + { + return $this->container['industry']; + } + + /** + * Sets industry + * + * @param int|null $industry The industry the organization belongs to + * + * @return self + */ + public function setIndustry($industry): self + { + $this->container['industry'] = $industry; + + return $this; + } + + /** + * Gets annual_revenue + * + * @return int|null + */ + public function getAnnualRevenue() + { + return $this->container['annual_revenue']; + } + + /** + * Sets annual_revenue + * + * @param int|null $annual_revenue The annual revenue of the organization + * + * @return self + */ + public function setAnnualRevenue($annual_revenue): self + { + $this->container['annual_revenue'] = $annual_revenue; + + return $this; + } + + /** + * Gets employee_count + * + * @return int|null + */ + public function getEmployeeCount() + { + return $this->container['employee_count']; + } + + /** + * Sets employee_count + * + * @param int|null $employee_count The number of employees in the organization + * + * @return self + */ + public function setEmployeeCount($employee_count): self + { + $this->container['employee_count'] = $employee_count; + + return $this; + } + /** * Gets custom_fields * diff --git a/lib/versions/v2/Model/OrganizationItemAddress.php b/lib/versions/v2/Model/OrganizationItemAddress.php index 1c98da0a..c754078c 100644 --- a/lib/versions/v2/Model/OrganizationItemAddress.php +++ b/lib/versions/v2/Model/OrganizationItemAddress.php @@ -2,7 +2,7 @@ /** * OrganizationItemAddress * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['country'] = $data['country'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationRequestBody.php b/lib/versions/v2/Model/OrganizationRequestBody.php index 9dcc0ceb..48c735ac 100644 --- a/lib/versions/v2/Model/OrganizationRequestBody.php +++ b/lib/versions/v2/Model/OrganizationRequestBody.php @@ -2,7 +2,7 @@ /** * OrganizationRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationSearchItem.php b/lib/versions/v2/Model/OrganizationSearchItem.php index e76194b7..ca32c8f1 100644 --- a/lib/versions/v2/Model/OrganizationSearchItem.php +++ b/lib/versions/v2/Model/OrganizationSearchItem.php @@ -2,7 +2,7 @@ /** * OrganizationSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/OrganizationSearchItemItem.php b/lib/versions/v2/Model/OrganizationSearchItemItem.php index 41c41eaa..f0e35452 100644 --- a/lib/versions/v2/Model/OrganizationSearchItemItem.php +++ b/lib/versions/v2/Model/OrganizationSearchItemItem.php @@ -2,7 +2,7 @@ /** * OrganizationSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -232,7 +232,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/Person.php b/lib/versions/v2/Model/Person.php index dd32b8a1..b9b7e7f6 100644 --- a/lib/versions/v2/Model/Person.php +++ b/lib/versions/v2/Model/Person.php @@ -2,7 +2,7 @@ /** * Person * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -292,7 +292,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/PersonEmails.php b/lib/versions/v2/Model/PersonEmails.php index 983e75ad..2d2a35dc 100644 --- a/lib/versions/v2/Model/PersonEmails.php +++ b/lib/versions/v2/Model/PersonEmails.php @@ -2,7 +2,7 @@ /** * PersonEmails * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v2/Model/PersonFieldItem.php b/lib/versions/v2/Model/PersonFieldItem.php index e7c292fd..9a9f9311 100644 --- a/lib/versions/v2/Model/PersonFieldItem.php +++ b/lib/versions/v2/Model/PersonFieldItem.php @@ -2,7 +2,7 @@ /** * PersonFieldItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -321,7 +321,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/PersonFieldItemImportantFields.php b/lib/versions/v2/Model/PersonFieldItemImportantFields.php index 7bffa077..1f3be677 100644 --- a/lib/versions/v2/Model/PersonFieldItemImportantFields.php +++ b/lib/versions/v2/Model/PersonFieldItemImportantFields.php @@ -2,7 +2,7 @@ /** * PersonFieldItemImportantFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; $this->container['stage_ids'] = $data['stage_ids'] ?? null; diff --git a/lib/versions/v2/Model/PersonFieldItemRequiredFields.php b/lib/versions/v2/Model/PersonFieldItemRequiredFields.php index b8b5f4f0..fa4de1d9 100644 --- a/lib/versions/v2/Model/PersonFieldItemRequiredFields.php +++ b/lib/versions/v2/Model/PersonFieldItemRequiredFields.php @@ -2,7 +2,7 @@ /** * PersonFieldItemRequiredFields * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -198,7 +198,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; } diff --git a/lib/versions/v2/Model/PersonFieldItemUiVisibility.php b/lib/versions/v2/Model/PersonFieldItemUiVisibility.php index d4b15b14..c78aeb03 100644 --- a/lib/versions/v2/Model/PersonFieldItemUiVisibility.php +++ b/lib/versions/v2/Model/PersonFieldItemUiVisibility.php @@ -2,7 +2,7 @@ /** * PersonFieldItemUiVisibility * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -208,7 +208,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_visible_flag'] = $data['add_visible_flag'] ?? null; $this->container['details_visible_flag'] = $data['details_visible_flag'] ?? null; diff --git a/lib/versions/v2/Model/PersonFieldItemUiVisibilityShowInAddDealDialog.php b/lib/versions/v2/Model/PersonFieldItemUiVisibilityShowInAddDealDialog.php index e0286237..de1249f6 100644 --- a/lib/versions/v2/Model/PersonFieldItemUiVisibilityShowInAddDealDialog.php +++ b/lib/versions/v2/Model/PersonFieldItemUiVisibilityShowInAddDealDialog.php @@ -2,7 +2,7 @@ /** * PersonFieldItemUiVisibilityShowInAddDealDialog * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['show'] = $data['show'] ?? null; $this->container['order'] = $data['order'] ?? null; diff --git a/lib/versions/v2/Model/PersonIm.php b/lib/versions/v2/Model/PersonIm.php index 418d99b6..759f29df 100644 --- a/lib/versions/v2/Model/PersonIm.php +++ b/lib/versions/v2/Model/PersonIm.php @@ -2,7 +2,7 @@ /** * PersonIm * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v2/Model/PersonItem.php b/lib/versions/v2/Model/PersonItem.php index 628e717b..e5dc3bbc 100644 --- a/lib/versions/v2/Model/PersonItem.php +++ b/lib/versions/v2/Model/PersonItem.php @@ -2,7 +2,7 @@ /** * PersonItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -292,7 +292,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/PersonPhones.php b/lib/versions/v2/Model/PersonPhones.php index 541e30e1..38e50f9c 100644 --- a/lib/versions/v2/Model/PersonPhones.php +++ b/lib/versions/v2/Model/PersonPhones.php @@ -2,7 +2,7 @@ /** * PersonPhones * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/lib/versions/v2/Model/PersonPictureItem.php b/lib/versions/v2/Model/PersonPictureItem.php index 001a1d9b..f6c58b3a 100644 --- a/lib/versions/v2/Model/PersonPictureItem.php +++ b/lib/versions/v2/Model/PersonPictureItem.php @@ -2,7 +2,7 @@ /** * PersonPictureItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['item_type'] = $data['item_type'] ?? null; diff --git a/lib/versions/v2/Model/PersonPictureItemPictures.php b/lib/versions/v2/Model/PersonPictureItemPictures.php index 8e95bef3..ab3c5370 100644 --- a/lib/versions/v2/Model/PersonPictureItemPictures.php +++ b/lib/versions/v2/Model/PersonPictureItemPictures.php @@ -2,7 +2,7 @@ /** * PersonPictureItemPictures * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['_128'] = $data['_128'] ?? null; $this->container['_512'] = $data['_512'] ?? null; diff --git a/lib/versions/v2/Model/PersonPictureResponse.php b/lib/versions/v2/Model/PersonPictureResponse.php index 946d2800..91b1264d 100644 --- a/lib/versions/v2/Model/PersonPictureResponse.php +++ b/lib/versions/v2/Model/PersonPictureResponse.php @@ -2,7 +2,7 @@ /** * PersonPictureResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PersonPostalAddress.php b/lib/versions/v2/Model/PersonPostalAddress.php index d63e8aa7..c2cd280a 100644 --- a/lib/versions/v2/Model/PersonPostalAddress.php +++ b/lib/versions/v2/Model/PersonPostalAddress.php @@ -2,7 +2,7 @@ /** * PersonPostalAddress * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -243,7 +243,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['country'] = $data['country'] ?? null; diff --git a/lib/versions/v2/Model/PersonRequestBody.php b/lib/versions/v2/Model/PersonRequestBody.php index 66889c3b..09132791 100644 --- a/lib/versions/v2/Model/PersonRequestBody.php +++ b/lib/versions/v2/Model/PersonRequestBody.php @@ -2,7 +2,7 @@ /** * PersonRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -268,7 +268,7 @@ public function getMarketingStatusAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['owner_id'] = $data['owner_id'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchItem.php b/lib/versions/v2/Model/PersonSearchItem.php index 50733180..682f16bb 100644 --- a/lib/versions/v2/Model/PersonSearchItem.php +++ b/lib/versions/v2/Model/PersonSearchItem.php @@ -2,7 +2,7 @@ /** * PersonSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchItemItem.php b/lib/versions/v2/Model/PersonSearchItemItem.php index 971338dc..905623ad 100644 --- a/lib/versions/v2/Model/PersonSearchItemItem.php +++ b/lib/versions/v2/Model/PersonSearchItemItem.php @@ -2,7 +2,7 @@ /** * PersonSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchItemItemOrganization.php b/lib/versions/v2/Model/PersonSearchItemItemOrganization.php index 5de615f0..1bc5f416 100644 --- a/lib/versions/v2/Model/PersonSearchItemItemOrganization.php +++ b/lib/versions/v2/Model/PersonSearchItemItemOrganization.php @@ -2,7 +2,7 @@ /** * PersonSearchItemItemOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchItemItemOwner.php b/lib/versions/v2/Model/PersonSearchItemItemOwner.php index e98ed550..0cb0a0ea 100644 --- a/lib/versions/v2/Model/PersonSearchItemItemOwner.php +++ b/lib/versions/v2/Model/PersonSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * PersonSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/PersonSearchResponse.php b/lib/versions/v2/Model/PersonSearchResponse.php index e285bc17..bbaf6935 100644 --- a/lib/versions/v2/Model/PersonSearchResponse.php +++ b/lib/versions/v2/Model/PersonSearchResponse.php @@ -2,7 +2,7 @@ /** * PersonSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchResponseAllOf.php b/lib/versions/v2/Model/PersonSearchResponseAllOf.php index a68dd57f..66773028 100644 --- a/lib/versions/v2/Model/PersonSearchResponseAllOf.php +++ b/lib/versions/v2/Model/PersonSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * PersonSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/PersonSearchResponseAllOfData.php b/lib/versions/v2/Model/PersonSearchResponseAllOfData.php index 43bdd8af..064438c2 100644 --- a/lib/versions/v2/Model/PersonSearchResponseAllOfData.php +++ b/lib/versions/v2/Model/PersonSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * PersonSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/PhaseItem.php b/lib/versions/v2/Model/PhaseItem.php index f8d6926e..4595fcbd 100644 --- a/lib/versions/v2/Model/PhaseItem.php +++ b/lib/versions/v2/Model/PhaseItem.php @@ -2,7 +2,7 @@ /** * PhaseItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/PhaseRequestBody.php b/lib/versions/v2/Model/PhaseRequestBody.php index 49f4632e..a038f0c6 100644 --- a/lib/versions/v2/Model/PhaseRequestBody.php +++ b/lib/versions/v2/Model/PhaseRequestBody.php @@ -2,7 +2,7 @@ /** * PhaseRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['board_id'] = $data['board_id'] ?? null; diff --git a/lib/versions/v2/Model/PipelineItem.php b/lib/versions/v2/Model/PipelineItem.php index 5606dd89..6e0daedd 100644 --- a/lib/versions/v2/Model/PipelineItem.php +++ b/lib/versions/v2/Model/PipelineItem.php @@ -2,7 +2,7 @@ /** * PipelineItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/PipelineRequestBody.php b/lib/versions/v2/Model/PipelineRequestBody.php index 3a49160c..18de8942 100644 --- a/lib/versions/v2/Model/PipelineRequestBody.php +++ b/lib/versions/v2/Model/PipelineRequestBody.php @@ -2,7 +2,7 @@ /** * PipelineRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['is_deal_probability_enabled'] = $data['is_deal_probability_enabled'] ?? false; diff --git a/lib/versions/v2/Model/PostFollower.php b/lib/versions/v2/Model/PostFollower.php index 029c06b1..5cf67a05 100644 --- a/lib/versions/v2/Model/PostFollower.php +++ b/lib/versions/v2/Model/PostFollower.php @@ -2,7 +2,7 @@ /** * PostFollower * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostFollowerAllOf.php b/lib/versions/v2/Model/PostFollowerAllOf.php index ce1fba75..22e012b4 100644 --- a/lib/versions/v2/Model/PostFollowerAllOf.php +++ b/lib/versions/v2/Model/PostFollowerAllOf.php @@ -2,7 +2,7 @@ /** * PostFollowerAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/PostPatchGetActivity.php b/lib/versions/v2/Model/PostPatchGetActivity.php index 04801031..2b990f52 100644 --- a/lib/versions/v2/Model/PostPatchGetActivity.php +++ b/lib/versions/v2/Model/PostPatchGetActivity.php @@ -2,7 +2,7 @@ /** * PostPatchGetActivity * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetBoard.php b/lib/versions/v2/Model/PostPatchGetBoard.php index 94ba29b4..fc55b657 100644 --- a/lib/versions/v2/Model/PostPatchGetBoard.php +++ b/lib/versions/v2/Model/PostPatchGetBoard.php @@ -2,7 +2,7 @@ /** * PostPatchGetBoard * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetDeal.php b/lib/versions/v2/Model/PostPatchGetDeal.php index d215612d..6739358b 100644 --- a/lib/versions/v2/Model/PostPatchGetDeal.php +++ b/lib/versions/v2/Model/PostPatchGetDeal.php @@ -2,7 +2,7 @@ /** * PostPatchGetDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetOrganization.php b/lib/versions/v2/Model/PostPatchGetOrganization.php index 0019b720..76540e7a 100644 --- a/lib/versions/v2/Model/PostPatchGetOrganization.php +++ b/lib/versions/v2/Model/PostPatchGetOrganization.php @@ -2,7 +2,7 @@ /** * PostPatchGetOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetPerson.php b/lib/versions/v2/Model/PostPatchGetPerson.php index 70a5fba4..76f6d398 100644 --- a/lib/versions/v2/Model/PostPatchGetPerson.php +++ b/lib/versions/v2/Model/PostPatchGetPerson.php @@ -2,7 +2,7 @@ /** * PostPatchGetPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetPhase.php b/lib/versions/v2/Model/PostPatchGetPhase.php index e19a3280..69f60cdd 100644 --- a/lib/versions/v2/Model/PostPatchGetPhase.php +++ b/lib/versions/v2/Model/PostPatchGetPhase.php @@ -2,7 +2,7 @@ /** * PostPatchGetPhase * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetPipeline.php b/lib/versions/v2/Model/PostPatchGetPipeline.php index 7287c15c..92f8dbc6 100644 --- a/lib/versions/v2/Model/PostPatchGetPipeline.php +++ b/lib/versions/v2/Model/PostPatchGetPipeline.php @@ -2,7 +2,7 @@ /** * PostPatchGetPipeline * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetProject.php b/lib/versions/v2/Model/PostPatchGetProject.php index cfb1fe93..72b48ba0 100644 --- a/lib/versions/v2/Model/PostPatchGetProject.php +++ b/lib/versions/v2/Model/PostPatchGetProject.php @@ -2,7 +2,7 @@ /** * PostPatchGetProject * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/PostPatchGetProjectAllOf.php b/lib/versions/v2/Model/PostPatchGetProjectAllOf.php index d39a7ec0..e6d2b678 100644 --- a/lib/versions/v2/Model/PostPatchGetProjectAllOf.php +++ b/lib/versions/v2/Model/PostPatchGetProjectAllOf.php @@ -2,7 +2,7 @@ /** * PostPatchGetProjectAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/PostPatchGetStage.php b/lib/versions/v2/Model/PostPatchGetStage.php index d49336be..39e56df3 100644 --- a/lib/versions/v2/Model/PostPatchGetStage.php +++ b/lib/versions/v2/Model/PostPatchGetStage.php @@ -2,7 +2,7 @@ /** * PostPatchGetStage * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductFieldItem.php b/lib/versions/v2/Model/ProductFieldItem.php index 4a69af0b..5372fe43 100644 --- a/lib/versions/v2/Model/ProductFieldItem.php +++ b/lib/versions/v2/Model/ProductFieldItem.php @@ -2,7 +2,7 @@ /** * ProductFieldItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -311,7 +311,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/ProductImageResponse.php b/lib/versions/v2/Model/ProductImageResponse.php index e30553f5..b86568ff 100644 --- a/lib/versions/v2/Model/ProductImageResponse.php +++ b/lib/versions/v2/Model/ProductImageResponse.php @@ -2,7 +2,7 @@ /** * ProductImageResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductImageResponseData.php b/lib/versions/v2/Model/ProductImageResponseData.php index c34da0d3..248683de 100644 --- a/lib/versions/v2/Model/ProductImageResponseData.php +++ b/lib/versions/v2/Model/ProductImageResponseData.php @@ -2,7 +2,7 @@ /** * ProductImageResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -228,7 +228,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['product_id'] = $data['product_id'] ?? null; diff --git a/lib/versions/v2/Model/ProductRequest.php b/lib/versions/v2/Model/ProductRequest.php index 8c5634ce..496595bc 100644 --- a/lib/versions/v2/Model/ProductRequest.php +++ b/lib/versions/v2/Model/ProductRequest.php @@ -2,7 +2,7 @@ /** * ProductRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; $this->container['description'] = $data['description'] ?? null; diff --git a/lib/versions/v2/Model/ProductResponse.php b/lib/versions/v2/Model/ProductResponse.php index 49b26b5e..c8192ac6 100644 --- a/lib/versions/v2/Model/ProductResponse.php +++ b/lib/versions/v2/Model/ProductResponse.php @@ -2,7 +2,7 @@ /** * ProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductSearchItem.php b/lib/versions/v2/Model/ProductSearchItem.php index 88495487..a8ef355f 100644 --- a/lib/versions/v2/Model/ProductSearchItem.php +++ b/lib/versions/v2/Model/ProductSearchItem.php @@ -2,7 +2,7 @@ /** * ProductSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/ProductSearchItemItem.php b/lib/versions/v2/Model/ProductSearchItemItem.php index 38e36e63..866eb35e 100644 --- a/lib/versions/v2/Model/ProductSearchItemItem.php +++ b/lib/versions/v2/Model/ProductSearchItemItem.php @@ -2,7 +2,7 @@ /** * ProductSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/ProductSearchItemItemOwner.php b/lib/versions/v2/Model/ProductSearchItemItemOwner.php index a882776e..f66e56dc 100644 --- a/lib/versions/v2/Model/ProductSearchItemItemOwner.php +++ b/lib/versions/v2/Model/ProductSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * ProductSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/ProductSearchResponse.php b/lib/versions/v2/Model/ProductSearchResponse.php index 1b57980c..b670f3de 100644 --- a/lib/versions/v2/Model/ProductSearchResponse.php +++ b/lib/versions/v2/Model/ProductSearchResponse.php @@ -2,7 +2,7 @@ /** * ProductSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductSearchResponseAllOf.php b/lib/versions/v2/Model/ProductSearchResponseAllOf.php index 1a0f8235..47dfbaf4 100644 --- a/lib/versions/v2/Model/ProductSearchResponseAllOf.php +++ b/lib/versions/v2/Model/ProductSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * ProductSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/ProductSearchResponseAllOfData.php b/lib/versions/v2/Model/ProductSearchResponseAllOfData.php index 14286185..0233b044 100644 --- a/lib/versions/v2/Model/ProductSearchResponseAllOfData.php +++ b/lib/versions/v2/Model/ProductSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ProductSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/ProductVariation.php b/lib/versions/v2/Model/ProductVariation.php index 4dc748ab..414abcbb 100644 --- a/lib/versions/v2/Model/ProductVariation.php +++ b/lib/versions/v2/Model/ProductVariation.php @@ -2,7 +2,7 @@ /** * ProductVariation * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ProductVariationRequestBody.php b/lib/versions/v2/Model/ProductVariationRequestBody.php index 73448f5e..ae43b220 100644 --- a/lib/versions/v2/Model/ProductVariationRequestBody.php +++ b/lib/versions/v2/Model/ProductVariationRequestBody.php @@ -2,7 +2,7 @@ /** * ProductVariationRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['prices'] = $data['prices'] ?? null; diff --git a/lib/versions/v2/Model/ProductVariationResponse.php b/lib/versions/v2/Model/ProductVariationResponse.php index 098d6ea3..ab4a5319 100644 --- a/lib/versions/v2/Model/ProductVariationResponse.php +++ b/lib/versions/v2/Model/ProductVariationResponse.php @@ -2,7 +2,7 @@ /** * ProductVariationResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductVariationsResponse.php b/lib/versions/v2/Model/ProductVariationsResponse.php index 19017480..0c5adc2c 100644 --- a/lib/versions/v2/Model/ProductVariationsResponse.php +++ b/lib/versions/v2/Model/ProductVariationsResponse.php @@ -2,7 +2,7 @@ /** * ProductVariationsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProductWithArrayPrices.php b/lib/versions/v2/Model/ProductWithArrayPrices.php index dd763a70..6d520729 100644 --- a/lib/versions/v2/Model/ProductWithArrayPrices.php +++ b/lib/versions/v2/Model/ProductWithArrayPrices.php @@ -2,7 +2,7 @@ /** * ProductWithArrayPrices * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ProductsResponse.php b/lib/versions/v2/Model/ProductsResponse.php index 0aa8641f..239261d9 100644 --- a/lib/versions/v2/Model/ProductsResponse.php +++ b/lib/versions/v2/Model/ProductsResponse.php @@ -2,7 +2,7 @@ /** * ProductsResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProjectChangelogResponse.php b/lib/versions/v2/Model/ProjectChangelogResponse.php index 07b8dc2e..de5e10f8 100644 --- a/lib/versions/v2/Model/ProjectChangelogResponse.php +++ b/lib/versions/v2/Model/ProjectChangelogResponse.php @@ -2,7 +2,7 @@ /** * ProjectChangelogResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProjectChangelogResponseData.php b/lib/versions/v2/Model/ProjectChangelogResponseData.php index 81f1013d..33d3fcf5 100644 --- a/lib/versions/v2/Model/ProjectChangelogResponseData.php +++ b/lib/versions/v2/Model/ProjectChangelogResponseData.php @@ -2,7 +2,7 @@ /** * ProjectChangelogResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -222,7 +222,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['change_source'] = $data['change_source'] ?? null; $this->container['change_source_user_agent'] = $data['change_source_user_agent'] ?? null; diff --git a/lib/versions/v2/Model/ProjectFieldItem.php b/lib/versions/v2/Model/ProjectFieldItem.php index 8af58418..eba000a7 100644 --- a/lib/versions/v2/Model/ProjectFieldItem.php +++ b/lib/versions/v2/Model/ProjectFieldItem.php @@ -2,7 +2,7 @@ /** * ProjectFieldItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -321,7 +321,7 @@ public function getFieldTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['field_code'] = $data['field_code'] ?? null; diff --git a/lib/versions/v2/Model/ProjectFieldItemUiVisibility.php b/lib/versions/v2/Model/ProjectFieldItemUiVisibility.php index 082005a5..c57f5f95 100644 --- a/lib/versions/v2/Model/ProjectFieldItemUiVisibility.php +++ b/lib/versions/v2/Model/ProjectFieldItemUiVisibility.php @@ -2,7 +2,7 @@ /** * ProjectFieldItemUiVisibility * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -203,7 +203,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['add_visible_flag'] = $data['add_visible_flag'] ?? null; $this->container['details_visible_flag'] = $data['details_visible_flag'] ?? null; diff --git a/lib/versions/v2/Model/ProjectItem.php b/lib/versions/v2/Model/ProjectItem.php index 67ebc9b5..21d60734 100644 --- a/lib/versions/v2/Model/ProjectItem.php +++ b/lib/versions/v2/Model/ProjectItem.php @@ -2,7 +2,7 @@ /** * ProjectItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -287,7 +287,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/ProjectRequestBody.php b/lib/versions/v2/Model/ProjectRequestBody.php index 7fd25c1f..b4c894b2 100644 --- a/lib/versions/v2/Model/ProjectRequestBody.php +++ b/lib/versions/v2/Model/ProjectRequestBody.php @@ -2,7 +2,7 @@ /** * ProjectRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -262,7 +262,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['description'] = $data['description'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItem.php b/lib/versions/v2/Model/ProjectSearchItem.php index 3d0c068c..dccafd4f 100644 --- a/lib/versions/v2/Model/ProjectSearchItem.php +++ b/lib/versions/v2/Model/ProjectSearchItem.php @@ -2,7 +2,7 @@ /** * ProjectSearchItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['result_score'] = $data['result_score'] ?? null; $this->container['item'] = $data['item'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItemItem.php b/lib/versions/v2/Model/ProjectSearchItemItem.php index 2a4f2df2..7583652a 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItem.php +++ b/lib/versions/v2/Model/ProjectSearchItemItem.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItemItemDeal.php b/lib/versions/v2/Model/ProjectSearchItemItemDeal.php index 95a0a044..f92736ef 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItemDeal.php +++ b/lib/versions/v2/Model/ProjectSearchItemItemDeal.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItemDeal * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItemItemOrganization.php b/lib/versions/v2/Model/ProjectSearchItemItemOrganization.php index 10779146..27caa134 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItemOrganization.php +++ b/lib/versions/v2/Model/ProjectSearchItemItemOrganization.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItemOrganization * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItemItemOwner.php b/lib/versions/v2/Model/ProjectSearchItemItemOwner.php index 72f18058..30792598 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItemOwner.php +++ b/lib/versions/v2/Model/ProjectSearchItemItemOwner.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItemOwner * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/lib/versions/v2/Model/ProjectSearchItemItemPerson.php b/lib/versions/v2/Model/ProjectSearchItemItemPerson.php index 7b8f4f3e..0b0fdc79 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItemPerson.php +++ b/lib/versions/v2/Model/ProjectSearchItemItemPerson.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItemPerson * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchItemItemPhase.php b/lib/versions/v2/Model/ProjectSearchItemItemPhase.php index c68b3c1e..7f012e15 100644 --- a/lib/versions/v2/Model/ProjectSearchItemItemPhase.php +++ b/lib/versions/v2/Model/ProjectSearchItemItemPhase.php @@ -2,7 +2,7 @@ /** * ProjectSearchItemItemPhase * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchResponse.php b/lib/versions/v2/Model/ProjectSearchResponse.php index cd9ec3f1..1812814d 100644 --- a/lib/versions/v2/Model/ProjectSearchResponse.php +++ b/lib/versions/v2/Model/ProjectSearchResponse.php @@ -2,7 +2,7 @@ /** * ProjectSearchResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchResponseAllOf.php b/lib/versions/v2/Model/ProjectSearchResponseAllOf.php index afa72559..12f01efe 100644 --- a/lib/versions/v2/Model/ProjectSearchResponseAllOf.php +++ b/lib/versions/v2/Model/ProjectSearchResponseAllOf.php @@ -2,7 +2,7 @@ /** * ProjectSearchResponseAllOf * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['additional_data'] = $data['additional_data'] ?? null; diff --git a/lib/versions/v2/Model/ProjectSearchResponseAllOfData.php b/lib/versions/v2/Model/ProjectSearchResponseAllOfData.php index 08c77bb6..c46a0ddd 100644 --- a/lib/versions/v2/Model/ProjectSearchResponseAllOfData.php +++ b/lib/versions/v2/Model/ProjectSearchResponseAllOfData.php @@ -2,7 +2,7 @@ /** * ProjectSearchResponseAllOfData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['items'] = $data['items'] ?? null; } diff --git a/lib/versions/v2/Model/ProjectTemplateItem.php b/lib/versions/v2/Model/ProjectTemplateItem.php index 7c9f7cdc..42e1bd81 100644 --- a/lib/versions/v2/Model/ProjectTemplateItem.php +++ b/lib/versions/v2/Model/ProjectTemplateItem.php @@ -2,7 +2,7 @@ /** * ProjectTemplateItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -227,7 +227,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/StageItem.php b/lib/versions/v2/Model/StageItem.php index 8b8737a5..ae25bc7d 100644 --- a/lib/versions/v2/Model/StageItem.php +++ b/lib/versions/v2/Model/StageItem.php @@ -2,7 +2,7 @@ /** * StageItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -242,7 +242,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['order_nr'] = $data['order_nr'] ?? null; diff --git a/lib/versions/v2/Model/StageRequestBody.php b/lib/versions/v2/Model/StageRequestBody.php index a2feed65..3f194758 100644 --- a/lib/versions/v2/Model/StageRequestBody.php +++ b/lib/versions/v2/Model/StageRequestBody.php @@ -2,7 +2,7 @@ /** * StageRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['pipeline_id'] = $data['pipeline_id'] ?? null; diff --git a/lib/versions/v2/Model/TaskItem.php b/lib/versions/v2/Model/TaskItem.php index 53adcd21..dd1794cc 100644 --- a/lib/versions/v2/Model/TaskItem.php +++ b/lib/versions/v2/Model/TaskItem.php @@ -2,7 +2,7 @@ /** * TaskItem * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -267,7 +267,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/lib/versions/v2/Model/TaskPatchRequest.php b/lib/versions/v2/Model/TaskPatchRequest.php index 976c4c38..3e36d1ab 100644 --- a/lib/versions/v2/Model/TaskPatchRequest.php +++ b/lib/versions/v2/Model/TaskPatchRequest.php @@ -2,7 +2,7 @@ /** * TaskPatchRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -281,7 +281,7 @@ public function getMilestoneAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v2/Model/TaskPostRequest.php b/lib/versions/v2/Model/TaskPostRequest.php index 48725acc..9d1c2145 100644 --- a/lib/versions/v2/Model/TaskPostRequest.php +++ b/lib/versions/v2/Model/TaskPostRequest.php @@ -2,7 +2,7 @@ /** * TaskPostRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -281,7 +281,7 @@ public function getMilestoneAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['project_id'] = $data['project_id'] ?? null; diff --git a/lib/versions/v2/Model/UpdateAdditionalDiscountResponse.php b/lib/versions/v2/Model/UpdateAdditionalDiscountResponse.php index 6a515ed1..956b616f 100644 --- a/lib/versions/v2/Model/UpdateAdditionalDiscountResponse.php +++ b/lib/versions/v2/Model/UpdateAdditionalDiscountResponse.php @@ -2,7 +2,7 @@ /** * UpdateAdditionalDiscountResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/UpdateDealFieldRequest.php b/lib/versions/v2/Model/UpdateDealFieldRequest.php index 0784ad13..dfde3059 100644 --- a/lib/versions/v2/Model/UpdateDealFieldRequest.php +++ b/lib/versions/v2/Model/UpdateDealFieldRequest.php @@ -2,7 +2,7 @@ /** * UpdateDealFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -217,7 +217,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['ui_visibility'] = $data['ui_visibility'] ?? null; diff --git a/lib/versions/v2/Model/UpdateDealProductRequestBody.php b/lib/versions/v2/Model/UpdateDealProductRequestBody.php index 5d7d5c7c..b5eed288 100644 --- a/lib/versions/v2/Model/UpdateDealProductRequestBody.php +++ b/lib/versions/v2/Model/UpdateDealProductRequestBody.php @@ -2,7 +2,7 @@ /** * UpdateDealProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -78,7 +78,7 @@ class UpdateDealProductRequestBody implements ModelInterface, ArrayAccess, JsonS 'product_variation_id' => 'int', 'billing_frequency' => '\Pipedrive\versions\v2\Model\BillingFrequency', 'billing_frequency_cycles' => 'int', - 'billing_start_date' => 'string' + 'billing_start_date' => '\DateTime' ]; /** @@ -101,7 +101,7 @@ class UpdateDealProductRequestBody implements ModelInterface, ArrayAccess, JsonS 'product_variation_id' => null, 'billing_frequency' => null, 'billing_frequency_cycles' => null, - 'billing_start_date' => 'YYYY-MM-DD' + 'billing_start_date' => 'date' ]; /** @@ -293,7 +293,7 @@ public function getDiscountTypeAllowableValues(): array * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['product_id'] = $data['product_id'] ?? null; $this->container['item_price'] = $data['item_price'] ?? null; @@ -665,7 +665,7 @@ public function setBillingFrequencyCycles($billing_frequency_cycles): self /** * Gets billing_start_date * - * @return string|null + * @return \DateTime|null */ public function getBillingStartDate() { @@ -675,7 +675,7 @@ public function getBillingStartDate() /** * Sets billing_start_date * - * @param string|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future + * @param \DateTime|null $billing_start_date Only available in Growth and above plans The billing start date. Must be between 10 years in the past and 10 years in the future * * @return self */ diff --git a/lib/versions/v2/Model/UpdateInstallmentResponse.php b/lib/versions/v2/Model/UpdateInstallmentResponse.php index a61c3d99..80096d28 100644 --- a/lib/versions/v2/Model/UpdateInstallmentResponse.php +++ b/lib/versions/v2/Model/UpdateInstallmentResponse.php @@ -2,7 +2,7 @@ /** * UpdateInstallmentResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/UpdateOrganizationFieldRequest.php b/lib/versions/v2/Model/UpdateOrganizationFieldRequest.php index 505f20b6..851e2f73 100644 --- a/lib/versions/v2/Model/UpdateOrganizationFieldRequest.php +++ b/lib/versions/v2/Model/UpdateOrganizationFieldRequest.php @@ -2,7 +2,7 @@ /** * UpdateOrganizationFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['ui_visibility'] = $data['ui_visibility'] ?? null; diff --git a/lib/versions/v2/Model/UpdatePersonFieldRequest.php b/lib/versions/v2/Model/UpdatePersonFieldRequest.php index 19816326..bd433f55 100644 --- a/lib/versions/v2/Model/UpdatePersonFieldRequest.php +++ b/lib/versions/v2/Model/UpdatePersonFieldRequest.php @@ -2,7 +2,7 @@ /** * UpdatePersonFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['ui_visibility'] = $data['ui_visibility'] ?? null; diff --git a/lib/versions/v2/Model/UpdateProductFieldRequest.php b/lib/versions/v2/Model/UpdateProductFieldRequest.php index 06d7c849..c62e0e8b 100644 --- a/lib/versions/v2/Model/UpdateProductFieldRequest.php +++ b/lib/versions/v2/Model/UpdateProductFieldRequest.php @@ -2,7 +2,7 @@ /** * UpdateProductFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['ui_visibility'] = $data['ui_visibility'] ?? null; diff --git a/lib/versions/v2/Model/UpdateProductImageResponse.php b/lib/versions/v2/Model/UpdateProductImageResponse.php index 1b949f42..506570f1 100644 --- a/lib/versions/v2/Model/UpdateProductImageResponse.php +++ b/lib/versions/v2/Model/UpdateProductImageResponse.php @@ -2,7 +2,7 @@ /** * UpdateProductImageResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/UpdateProductRequestBody.php b/lib/versions/v2/Model/UpdateProductRequestBody.php index 897cad95..b6375062 100644 --- a/lib/versions/v2/Model/UpdateProductRequestBody.php +++ b/lib/versions/v2/Model/UpdateProductRequestBody.php @@ -2,7 +2,7 @@ /** * UpdateProductRequestBody * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -257,7 +257,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/lib/versions/v2/Model/UpdateProductResponse.php b/lib/versions/v2/Model/UpdateProductResponse.php index 1f7732ae..58914f26 100644 --- a/lib/versions/v2/Model/UpdateProductResponse.php +++ b/lib/versions/v2/Model/UpdateProductResponse.php @@ -2,7 +2,7 @@ /** * UpdateProductResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -202,7 +202,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/UpdateProjectFieldRequest.php b/lib/versions/v2/Model/UpdateProjectFieldRequest.php index bc5c0e8a..72a28e55 100644 --- a/lib/versions/v2/Model/UpdateProjectFieldRequest.php +++ b/lib/versions/v2/Model/UpdateProjectFieldRequest.php @@ -2,7 +2,7 @@ /** * UpdateProjectFieldRequest * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -212,7 +212,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_name'] = $data['field_name'] ?? null; $this->container['ui_visibility'] = $data['ui_visibility'] ?? null; diff --git a/lib/versions/v2/Model/UpdateTaskResponse.php b/lib/versions/v2/Model/UpdateTaskResponse.php index f01b04f9..7bb979e7 100644 --- a/lib/versions/v2/Model/UpdateTaskResponse.php +++ b/lib/versions/v2/Model/UpdateTaskResponse.php @@ -2,7 +2,7 @@ /** * UpdateTaskResponse * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -207,7 +207,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['success'] = $data['success'] ?? null; $this->container['data'] = $data['data'] ?? null; diff --git a/lib/versions/v2/Model/UpsertActivityResponseData.php b/lib/versions/v2/Model/UpsertActivityResponseData.php index ef66ec44..e9d97fbf 100644 --- a/lib/versions/v2/Model/UpsertActivityResponseData.php +++ b/lib/versions/v2/Model/UpsertActivityResponseData.php @@ -2,7 +2,7 @@ /** * UpsertActivityResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/UpsertDealResponseData.php b/lib/versions/v2/Model/UpsertDealResponseData.php index b199d64d..add7dc65 100644 --- a/lib/versions/v2/Model/UpsertDealResponseData.php +++ b/lib/versions/v2/Model/UpsertDealResponseData.php @@ -2,7 +2,7 @@ /** * UpsertDealResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/UpsertOrganizationResponseData.php b/lib/versions/v2/Model/UpsertOrganizationResponseData.php index a766e026..2df67f06 100644 --- a/lib/versions/v2/Model/UpsertOrganizationResponseData.php +++ b/lib/versions/v2/Model/UpsertOrganizationResponseData.php @@ -2,7 +2,7 @@ /** * UpsertOrganizationResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/UpsertPersonResponseData.php b/lib/versions/v2/Model/UpsertPersonResponseData.php index 45b7f242..b801e29c 100644 --- a/lib/versions/v2/Model/UpsertPersonResponseData.php +++ b/lib/versions/v2/Model/UpsertPersonResponseData.php @@ -2,7 +2,7 @@ /** * UpsertPersonResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/UpsertPipelineResponseData.php b/lib/versions/v2/Model/UpsertPipelineResponseData.php index bb084623..01c09caf 100644 --- a/lib/versions/v2/Model/UpsertPipelineResponseData.php +++ b/lib/versions/v2/Model/UpsertPipelineResponseData.php @@ -2,7 +2,7 @@ /** * UpsertPipelineResponseData * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -197,7 +197,7 @@ public function getModelName(): string * @param array|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; } diff --git a/lib/versions/v2/Model/VisibleTo.php b/lib/versions/v2/Model/VisibleTo.php index 1c0c482c..3cda34f7 100644 --- a/lib/versions/v2/Model/VisibleTo.php +++ b/lib/versions/v2/Model/VisibleTo.php @@ -2,7 +2,7 @@ /** * VisibleTo * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 diff --git a/lib/versions/v2/ObjectSerializer.php b/lib/versions/v2/ObjectSerializer.php index 187ea3b0..2d508275 100644 --- a/lib/versions/v2/ObjectSerializer.php +++ b/lib/versions/v2/ObjectSerializer.php @@ -2,7 +2,7 @@ /** * ObjectSerializer * - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -70,7 +70,7 @@ public static function setDateTimeFormat(string $format): void * * @return scalar|object|array|null serialized form of $data */ - public static function sanitizeForSerialization($data, $type = null, string $format = null) + public static function sanitizeForSerialization($data, $type = null, ?string $format = null) { if (is_scalar($data) || null === $data) { return $data; @@ -268,7 +268,7 @@ public static function serializeCollection(array $collection, string $style, boo * * @return object|array|null a single or an array of $class instances */ - public static function deserialize($data, string $class, array $httpHeaders = null) + public static function deserialize($data, string $class, ?array $httpHeaders = null) { if (null === $data) { return null; @@ -365,6 +365,11 @@ public static function deserialize($data, string $class, array $httpHeaders = nu } if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + // V1 relational fields (user_id, org_id, person_id) may return as objects; extract the scalar ID. + // Only applies to numeric types — 'mixed'/'array'/'object' must keep the full value. + if (is_object($data) && in_array($class, ['int', 'integer', 'float', 'double', 'number', 'byte'], true)) { + $data = $data->value ?? $data->id ?? null; + } settype($data, $class); return $data; } diff --git a/lib/versions/v2/Traits/RawData.php b/lib/versions/v2/Traits/RawData.php index a5049a1b..e61406b4 100644 --- a/lib/versions/v2/Traits/RawData.php +++ b/lib/versions/v2/Traits/RawData.php @@ -2,7 +2,7 @@ /** * RawData - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2 @@ -27,7 +27,7 @@ namespace Pipedrive\versions\v2\Traits; /** - * PHP version 7.3 + * PHP version 8.0 * * @category Class * @package Pipedrive\versions\v2