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

Correct typing in phpdocs and fix getCustomDetails() #194

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

gronostajo
Copy link
Contributor

These are the ones I've caught when working with the library. There may be more.

Mostly just updates to phpdocs. There's one change of the return type: getCustomDetails() always crashed previously because it was returning stdClass, but declared an array.

@@ -122,7 +122,7 @@ public function getUpdatedDatetime(): ?string
return $this->updatedDatetime;
}

public function getCustomDetails(): array
public function getCustomDetails(): stdClass
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #199

@CoolGoose CoolGoose merged commit 6e85bef into messagebird:master Jun 21, 2022
@CoolGoose
Copy link
Contributor

Thank you @gronostajo . will bump a minor release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants