Stronger typing in Widget class (HTMLOutputter)
This commit is contained in:
parent
75711ae06a
commit
2f97d5d206
@ -63,7 +63,7 @@ class Widget
|
|||||||
* @param HTMLOutputter $out output helper, defaults to null
|
* @param HTMLOutputter $out output helper, defaults to null
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function __construct($out=null)
|
function __construct(HTMLOutputter $out=null)
|
||||||
{
|
{
|
||||||
$this->out = $out;
|
$this->out = $out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user