Skip to content

Commit

Permalink
Add #[AllowDynamicProperties] to not emit deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashish committed Jun 27, 2024
1 parent 56917ae commit 46d7732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/omise/res/OmiseApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
define('OMISE_API_URL', 'https://api.omise.co/');
define('OMISE_VAULT_URL', 'https://vault.omise.co/');

#[AllowDynamicProperties]

Check failure on line 7 in lib/omise/res/OmiseApiResource.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0)

Attribute class AllowDynamicProperties does not exist.

Check failure on line 7 in lib/omise/res/OmiseApiResource.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1)

Attribute class AllowDynamicProperties does not exist.
class OmiseApiResource extends OmiseObject
{
// Request methods
Expand Down

0 comments on commit 46d7732

Please sign in to comment.