Skip to content

Commit

Permalink
Merge pull request #7 from braze-community/fix/braze-specification
Browse files Browse the repository at this point in the history
fix(lib): update and remove Model and Normalizer
  • Loading branch information
remarkablemark authored Aug 20, 2023
2 parents 5ce9f6a + 7491c2b commit b9fdcad
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 805 deletions.
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

0 comments on commit b9fdcad

Please sign in to comment.