Bug #39293

ViewInterface->assign() method is annotated to expect object as value

Added by Adrian Föder over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Start date:
2012-07-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

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.

Also available in: Atom PDF