Welcome Guest, Not a member yet? Register   Sign In
Using ::class in Model's $returnType instead of string - bad?
#6

(This post was last modified: 06-16-2022, 02:34 AM by tgix.)

(06-16-2022, 02:12 AM)kenjis Wrote:
(06-15-2022, 11:12 PM)tgix Wrote: So maybe then the docs should be updated to reflect "best practices"?

Yes.

Working on a PR.

https://github.com/codeigniter4/CodeIgniter4/pull/6134
Reply


Messages In This Thread
RE: Using ::class in Model's $returnType instead of string - bad? - by tgix - 06-16-2022, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB