Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Phone::getControlPart() compatible with Nette 2.4 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adaamz
Copy link

@adaamz adaamz commented Aug 15, 2017

No description provided.

@adaamz
Copy link
Author

adaamz commented Aug 15, 2017

ok, composer install failed :D
I hoped that more changes would be requested, but composer dependencies are broken :-/

btw. why is required to have all dependencies @dev?

@@ -344,7 +344,7 @@ public function getControl()
*
* @throws Exceptions\InvalidArgumentException
*/
public function getControlPart()
public function getControlPart(): ?Utils\Html
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not correct

Copy link
Contributor

Choose a reason for hiding this comment

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

remove question mark

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

btw. in nette/forms 2.4.5 are no typehints yet.... they are in 3.0.0-alpha only https://github.com/nette/forms/blob/v3.0.0-alpha1/src/Forms/Controls/BaseControl.php#L274

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants