Skip to content

docs: improve sample code in Database Configuration#7654

Merged
kenjis merged 1 commit intocodeigniter4:developfrom
kenjis:fix-docs-database-configuration-sample
Jul 5, 2023
Merged

docs: improve sample code in Database Configuration#7654
kenjis merged 1 commit intocodeigniter4:developfrom
kenjis:fix-docs-database-configuration-sample

Conversation

@kenjis
Copy link
Copy Markdown
Member

@kenjis kenjis commented Jul 5, 2023

Description
If devs copy and paste the constructor, it won't work becaseu parent::__construct(); is missing.

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

If a dev copy and paste the constructor, it won't work
becaseu `parent::__construct();` is missing.
@kenjis kenjis added the documentation Pull requests for documentation only label Jul 5, 2023
@kenjis kenjis merged commit a14c229 into codeigniter4:develop Jul 5, 2023
@kenjis kenjis deleted the fix-docs-database-configuration-sample branch July 5, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants