Skip to content

[!!!][TASK] Add type declarations to ViewHelper classes #1219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

s2b
Copy link
Contributor

@s2b s2b commented Aug 20, 2025

No description provided.

@s2b s2b marked this pull request as draft August 20, 2025 18:33
* @api
*/
protected $escapeChildren;
protected ?bool $escapeChildren = null;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we wanted to avoid mass-edits of VHs out there, we could skip this one.

* @api
*/
protected $escapeOutput;
protected bool $escapeOutput = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we wanted to avoid mass-edits of VHs out there, we could skip this one.

*/
abstract public function render();
abstract public function render(): mixed;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we wanted to avoid mass-edits of VHs out there, we could skip this one.

@@ -321,32 +300,28 @@ public function validateArguments()
*
* @api
*/
public function initializeArguments() {}
public function initializeArguments(): void {}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we wanted to avoid mass-edits of VHs out there, we could skip this one.

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.

1 participant