Skip to content

Conversation

@Ayoub-Mabrouk
Copy link

Adds type hints and property type declarations to improve type safety.

Parser Library:

  • Added type hints to SignatureValidator::validateSignature() parameters and return type
  • Replaced docblock annotations with property type declarations in ParsedEvents

Laravel:

  • Added return type : string to all facade `getFacadeAcc

- Add type hints to SignatureValidator::validateSignature() parameters and return type
- Replace docblock annotations with PHP 8.1+ property type declarations in ParsedEvents

This improves type safety and modernizes the code to use PHP 8.1+ features.
Add return type hint (: string) to all Laravel facade getFacadeAccessor() methods:
- LINEChannelAccessTokenApi
- LINEInsightApi
- LINELiffApi
- LINEManageAudienceApi
- LINEManageAudienceBlobApi
- LINEMessagingApi
- LINEMessagingBlobApi

This improves type safety and IDE support.
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