Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lib): update and remove Model and Normalizer #7

Merged
merged 3 commits into from
Aug 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
tools: php-cs-fixer:3

- name: Run php-cs-fixer
run: vendor/bin/php-cs-fixer fix
run: php-cs-fixer fix .

- name: Git commit and push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'style: run php-cs-fixer'
commit_message: 'style(php-cs-fixer): fix code style and lint'
12 changes: 6 additions & 6 deletions lib/Model/UsersTrackPostBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,28 @@ public function isInitialized($property): bool
return array_key_exists($property, $this->initialized);
}
/**
* @var UsersTrackPostBodyAttributesItem[]
* @var array<string, mixed>[]
*/
protected $attributes;
/**
* @var mixed[]
*/
protected $events;
/**
* @var UsersTrackPostBodyPurchasesItem[]
* @var array<string, mixed>[]
*/
protected $purchases;

/**
* @return UsersTrackPostBodyAttributesItem[]
* @return array<string, mixed>[]
*/
public function getAttributes(): array
{
return $this->attributes;
}

/**
* @param UsersTrackPostBodyAttributesItem[] $attributes
* @param array<string, mixed>[] $attributes
*/
public function setAttributes(array $attributes): self
{
Expand Down Expand Up @@ -73,15 +73,15 @@ public function setEvents(array $events): self
}

/**
* @return UsersTrackPostBodyPurchasesItem[]
* @return array<string, mixed>[]
*/
public function getPurchases(): array
{
return $this->purchases;
}

/**
* @param UsersTrackPostBodyPurchasesItem[] $purchases
* @param array<string, mixed>[] $purchases
*/
public function setPurchases(array $purchases): self
{
Expand Down
115 changes: 0 additions & 115 deletions lib/Model/UsersTrackPostBodyAttributesItem.php

This file was deleted.

160 changes: 0 additions & 160 deletions lib/Model/UsersTrackPostBodyPurchasesItem.php

This file was deleted.

Loading