Skip to content

fix: error in variable name#37

Merged
ibnsultan merged 1 commit into
leafsphp:v4.xfrom
apfox:v4.x
Jun 6, 2026
Merged

fix: error in variable name#37
ibnsultan merged 1 commit into
leafsphp:v4.xfrom
apfox:v4.x

Conversation

@apfox
Copy link
Copy Markdown
Contributor

@apfox apfox commented Oct 15, 2025

What kind of change does this PR introduce? (pls check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe below

Description

Each time db() is called, a new connection is created.

var_dump(spl_object_id(db()->connection()));
var_dump(spl_object_id(db()->connection()));
var_dump(spl_object_id(db()->connection()));

// output
    23
    28
    23

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Related Issue

NA

@ibnsultan ibnsultan merged commit 838fa02 into leafsphp:v4.x Jun 6, 2026
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