From 1b365bcff01963699927ece8f9bd91cc93f9c102 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Thu, 2 Oct 2014 21:18:36 -0400 Subject: [PATCH] Added root namespace to function Tests were failing on 5.4 out on travis. Was barking about the function not existing in the namespace. Hoping this resolves it. --- src/Resource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resource.php b/src/Resource.php index 0539031..78a49cf 100644 --- a/src/Resource.php +++ b/src/Resource.php @@ -177,7 +177,7 @@ class Resource extends Object if ($function == 'password_hash') { - $global[$variable] = password_hash($value, PASSWORD_DEFAULT); + $global[$variable] = \password_hash($value, PASSWORD_DEFAULT); } else {