Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zoujingli
Copy link
Contributor

@zoujingli zoujingli commented Aug 22, 2024

当设置不存在的属性时会有警告,因为不是继承了 \stdClass ,所以只能加个 isset 来判断属性是否存在。

[WARNING] ErrorException: Creation of dynamic property Simps\MQTT\Message\PubAck::$dup is deprecated

@sonarqubecloud
Copy link

@sy-records sy-records changed the title fix: 设置消息时不设置无效的属性 fix: Creation of dynamic property is deprecated Aug 23, 2024
@sy-records sy-records merged commit 6285474 into simps:master Aug 24, 2024
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.

2 participants