From e0431dfd7d0043551db9696cf5cb5a01ff30214c Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 12 Feb 2010 22:53:54 +0000 Subject: Can't type hint for strings. git-svn-id: http://code.elgg.org/elgg/trunk@3937 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 0da106b8a..1ae488fb0 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -173,7 +173,7 @@ function elgg_get_view_location($view, $viewtype = '') { * @param string $viewtype If set, forces the viewtype for the elgg_view call to be this value (default: standard detection) * @return string The HTML content */ -function elgg_view(string $view, $vars = array(), $bypass = false, $debug = false, $viewtype = '') { +function elgg_view($view, $vars = array(), $bypass = false, $debug = false, $viewtype = '') { global $CONFIG; static $usercache; -- cgit v1.2.3