Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 3daddc8

Browse files
committed
Merge branch 'hotfix/207'
Close #207 Fixes #205
2 parents 4419eef + 698a726 commit 3daddc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ All notable changes to this project will be documented in this file, in reverse
2222

2323
### Fixed
2424

25-
- Nothing.
25+
- [#207](https://github.com/zendframework/zend-form/pull/207) fixes the return value annotation for the `Fieldset::get()` method to
26+
indicate it can also return a `FieldsetInterface` instance.
2627

2728
## 2.12.0 - 2018-05-16
2829

src/Fieldset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function has($elementOrFieldset)
211211
* Retrieve a named element or fieldset
212212
*
213213
* @param string $elementOrFieldset
214-
* @return ElementInterface
214+
* @return ElementInterface|FieldsetInterface
215215
*/
216216
public function get($elementOrFieldset)
217217
{

0 commit comments

Comments
 (0)