Skip to content

Bug: getGet, getPost, and other becomes undefined method after use ResponseTrait #7486

@sk8dvlpr

Description

@sk8dvlpr

PHP Version

8.1

CodeIgniter4 Version

4.3.4

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Windows

Which server did you use?

apache

Database

No response

What happened?

in previous version 4.3.3 it worked normally when using use ResponseTrait, but when updating to version 4.3.4 getGet or getPost and others it becomes Undefined Method. but the getGet or getPost functions are still running normally, but in my IDE it turns red and it's very annoying. I tried asking using Slack but it seems no one is very active there.

Steps to Reproduce

use ResponseTrait;

Expected Output

Defined Method

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions