fix: dang, type hinting is only for PHP7... bleee :P

This commit is contained in:
Martin Ambrus
2017-10-26 11:43:08 +02:00
parent 743a6a3f90
commit 91736e6209
4 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class User {
* @return boolean Returns true if the value exists in database,
* false otherwise.
*/
public static function exists(IDbConnection $db, string $value) {
public static function exists(IDbConnection $db, $value) {
$sql = '(
SELECT
Count(*) AS in_users