Skip to content

FIX - code example in doc block#11976

Merged
emteknetnz merged 1 commit intosilverstripe:6from
steiha:patch-1
Mar 17, 2026
Merged

FIX - code example in doc block#11976
emteknetnz merged 1 commit intosilverstripe:6from
steiha:patch-1

Conversation

@steiha
Copy link
Copy Markdown
Contributor

@steiha steiha commented Mar 15, 2026

No functional changes.

Fix code example in doc block.

  • add use statements
  • use proper class and variable names
  • use array short syntax

Description

Manual testing steps

Issues

Pull request checklist

  • The target branch is correct
  • All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
    • Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.
  • The commit messages follow our commit message guidelines
  • The PR follows our contribution guidelines
  • Code changes follow our coding conventions
  • This change is covered with tests (or tests aren't necessary for this change)
  • Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
  • CI is green

No functional changes.

Fix code example in doc block.

- add use statements
- use proper class and variable names
- use array short syntax
@emteknetnz emteknetnz merged commit 1d36929 into silverstripe:6 Mar 17, 2026
13 checks passed
@steiha steiha deleted the patch-1 branch March 17, 2026 15:21
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