From f9f7c4675166d46afbe29132d4d293bc758a68e2 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 20 Apr 2015 00:26:16 +0200 Subject: [PATCH] Better typing in lib/framework.php --- lib/framework.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/framework.php b/lib/framework.php index b71f365c24..4ec8b083e0 100644 --- a/lib/framework.php +++ b/lib/framework.php @@ -144,7 +144,7 @@ require_once INSTALLDIR.'/lib/action.php'; require_once INSTALLDIR.'/lib/mail.php'; //set PEAR error handling to use regular PHP exceptions -function PEAR_ErrorToPEAR_Exception($err) +function PEAR_ErrorToPEAR_Exception(PEAR_Error $err) { //DB_DataObject throws error when an empty set would be returned //That behavior is weird, and not how the rest of StatusNet works. -- 2.39.5