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

Apply fixes from StyleCI #146

Merged
merged 1 commit into from
May 2, 2023
Merged

Apply fixes from StyleCI #146

merged 1 commit into from
May 2, 2023

Conversation

mechelon
Copy link
Member

@mechelon mechelon commented May 2, 2023

This pull request applies code style fixes from an analysis carried out by StyleCI.


For more information, click here.

@mechelon mechelon merged commit 55fe958 into feature/resolve May 2, 2023
@mechelon mechelon deleted the analysis-RP17mO branch May 2, 2023 05:12
@what-the-diff
Copy link

what-the-diff bot commented May 2, 2023

PR Summary

  • NotionParent Class Extension
    The NotionParent class is created to extend the Entity class, providing additional functionality.

  • setResponseData Function
    A new function called setResponseData is introduced, which processes an input array and has a void return type.

  • Superclass Method Call
    The parent::setResponseData() method is called within the setResponseData function to utilize the superclass method with the input data.

  • Object Property Validation
    An if statement is added to validate the object property in response data, ensuring it is either page_id or database_id. If the validation fails, an exception with the message "Invalid Object Type" will be thrown.

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