Skip to content

Bug: Baseservice - getSharedInstance #2414

Description

@tada5hi

Direction
BUG

Describe the bug
Shouldn't the "getSharedInstance" of the system/Config/BaseService.php return an unique instance for name and params combination?
Currently it just reference to the same object instance whether the method params are equal or not.

CodeIgniter 4 version
Head

Affected module(s)
Which package or class is the bug in, if known.

Expected behavior, and steps to reproduce if appropriate
A clear and concise description of what you expected to happen,
and how you got there.
Feel free to include a text/log extract, but use a pastebin facility for any
screenshots you deem necessary.

Context

  • OS: [e.g. Windows 99]
  • Web server [e.g. Apache 1.2.3]
  • PHP version [e.g. 6.5.4]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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