Skip to content

Update documentation for CakePHP 5 / PHP 8+ compatibility#325

Merged
dereuromark merged 1 commit into3.xfrom
docs-update-3x
Apr 2, 2026
Merged

Update documentation for CakePHP 5 / PHP 8+ compatibility#325
dereuromark merged 1 commit into3.xfrom
docs-update-3x

Conversation

@dereuromark
Copy link
Copy Markdown
Member

Summary

  • Add return types to all code examples (controller actions, methods)
  • Fix grammar: "lets" -> "let's", "unauthencticated" typo
  • Use strict comparison (===) instead of loose (==)
  • Fix syntax errors: missing semicolon, incorrect function call ($middlewareQueue() -> $middlewareQueue)
  • Remove unused imports (ResponseInterface)
  • Add missing return statements in middleware examples
  • Fix declare spacing: declare(strict_types=1)
  • Use plural table name convention ($this->Articles instead of $this->Article)
  • Remove extra ResponseInterface parameter from interface method signature

- Add return types to all code examples (controller actions, methods)
- Fix grammar: "lets" -> "let's", "unauthencticated" typo
- Use strict comparison (===) instead of loose (==)
- Fix syntax errors: missing semicolon, incorrect function call ($middlewareQueue())
- Remove unused imports (ResponseInterface)
- Add missing return statements
- Fix declare spacing: declare(strict_types=1)
- Use plural table name convention ($this->Articles)
- Remove extra ResponseInterface parameter from interface method
@dereuromark dereuromark merged commit 7262242 into 3.x Apr 2, 2026
8 checks passed
@dereuromark dereuromark deleted the docs-update-3x branch April 2, 2026 12:07
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