]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Stronger typing in Widget class (HTMLOutputter)
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Jun 2014 11:09:47 +0000 (13:09 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Jun 2014 11:09:47 +0000 (13:09 +0200)
lib/widget.php

index d068dea0f031b295a85fa73232c223abd437fb4e..11f4d08cb8ed1b484d8ad1c0bbe1bdabfdf2e8fe 100644 (file)
@@ -63,7 +63,7 @@ class Widget
      * @param HTMLOutputter $out output helper, defaults to null
      */
 
-    function __construct($out=null)
+    function __construct(HTMLOutputter $out=null)
     {
         $this->out = $out;
     }