Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form] Added Form view parent method #19492

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

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public function testPassedCallbackIsExecuted()
$this->assertTrue($executed);
}

/**
* @return array
*/
public function provideCommandsAndOutput()
Copy link
Contributor

Choose a reason for hiding this comment

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

Your IDE can already determine the return type, in this state it doesn't really add a value

Copy link
Contributor

Choose a reason for hiding this comment

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

This fix does not belong to the PR's scope anyway.

{
$successOutputVerbose = <<<EOT
Expand Down
10 changes: 10 additions & 0 deletions 10 src/Symfony/Component/Form/FormView.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,14 @@ public function count()
{
return count($this->children);
}

/**
* Returns whether the given parent exists.
*
* @return bool
*/
public function hasParent()
{
return null !== $this->parent;
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.