Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Jul 29, 2022

Description
See #6310

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

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes, some points for discussion.

kenjis added 3 commits August 4, 2022 17:18
Controller method can return string or void.
There is no way to pass int value to the controller method now,
unless extending Router. But $id may be essentially int, and
we should support int.
@kenjis kenjis force-pushed the fix-type-RESTful-controllers branch from 8b6379c to d6cd7b1 Compare August 4, 2022 08:31
@kenjis kenjis requested a review from MGatner August 4, 2022 08:33
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kenjis kenjis merged commit c0b9928 into codeigniter4:develop Aug 4, 2022
@kenjis kenjis deleted the fix-type-RESTful-controllers branch August 4, 2022 09:58
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