Bug #39293
ViewInterface->assign() method is annotated to expect object as value
Status: | Resolved | Start date: | 2012-07-26 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Adrian Föder | % Done: | 100% |
|
Category: | MVC | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 | |||
PHP Version: | Complexity: | |||
Has patch: | Yes | Affected Flow version: | (any) |
Description
it is
* @param string $key Key of variable * @param object $value Value of object .... */ public function assign($key, $value);
which should be `mixed` instead because everything is considered to be assignable.
Associated revisions
[BUGFIX] Corrected annotation of assign method in ViewInterface
A view is basically intended to be able to get arbitrary values,
hence data types assigned, so the annotation gets corrected to
accomodate for this.
Change-Id: I9962c22887afea21ea3494e0f273bd9bd5ccf222
Releases: 1.1, 1.2
Fixes: #39293
[BUGFIX] Corrected annotation of assign method in ViewInterface
A view is basically intended to be able to get arbitrary values,
hence data types assigned, so the annotation gets corrected to
accomodate for this.
Change-Id: I9962c22887afea21ea3494e0f273bd9bd5ccf222
Releases: 1.1, 1.2
Fixes: #39293
History
#1 Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13079
#2 Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/13343
#3 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- PHP Version deleted (
5.4)