Skip to content

Daza110 patch 1#50

Open
daza110 wants to merge 2 commits into
rapidwebltd:masterfrom
daza110:daza110-patch-1
Open

Daza110 patch 1#50
daza110 wants to merge 2 commits into
rapidwebltd:masterfrom
daza110:daza110-patch-1

Conversation

@daza110
Copy link
Copy Markdown

@daza110 daza110 commented Feb 19, 2026

Update GooglePeople class for PHP 8.3 compatibility

  • Converted dynamic properties in Contact to explicit typed properties to remove deprecation warnings.
  • Replaced (string)$response->getBody() with getContents() for proper stream handling.
  • Updated null handling and iteration to avoid warnings on missing fields.
  • Fixed me() method to call the correct get() function.
  • Replaced stdClass with arrays in save() requests to comply with PHP 8.3 strictness.
  • Fully compatible with PHP 8.3 while maintaining existing functionality.

daza110 added 2 commits August 7, 2024 14:47
- Converted dynamic properties in Contact to explicit typed properties to remove deprecation warnings.
- Replaced (string)$response->getBody() with getContents() for proper stream handling.
- Updated null handling and iteration to avoid warnings on missing fields.
- Fixed `me()` method to call the correct `get()` function.
- Replaced stdClass with arrays in save() requests to comply with PHP 8.3 strictness.
- Fully compatible with PHP 8.3 while maintaining existing functionality.
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.

1 participant