Skip to content

Updated to use ::class in $returnType example #6134

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

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

tangix
Copy link
Contributor

@tangix tangix commented Jun 16, 2022

Description
Updated Model example with $returnType to use ::class instead of string literal.
https://forum.codeigniter.com/showthread.php?tid=82127&pid=397352#pid397352

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Updated to use ::class in $returnType example
@kenjis kenjis added the documentation Pull requests for documentation only label Jun 16, 2022
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
@paulbalandan paulbalandan merged commit 4f69eb6 into codeigniter4:develop Jun 16, 2022
@tangix tangix deleted the update-model-docs branch June 16, 2022 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests for documentation only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants