Skip to content

Commit

Permalink
Add types to method signatures
Browse files Browse the repository at this point in the history
- Switch to PHP 8.1 method signatures.
- Update required PHP version in composer.json.
- Update from `switch` to `match` expression.
- Replace array "get" methods with const arrays.
- Add visibility to const values.
- Remove redundant `Gsm7bitExMap` array.
- Avoid juggling `null` in `replaceNonGsmChars()`.
  • Loading branch information
soundslocke committed Sep 4, 2022
1 parent 21b0115 commit ed371bd
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 184 deletions.
Loading

0 comments on commit ed371bd

Please sign in to comment.