mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 00:46:59 +01:00
chore: Fix tests and PHPStan warnings
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
* along with sysPass. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace SP;
|
||||
|
||||
use Exception;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
* [type] [caller] data
|
||||
@@ -145,7 +149,7 @@ function formatStackTrace(Throwable $e): string
|
||||
/**
|
||||
* Process an exception and log into the error log
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param Exception $exception
|
||||
*/
|
||||
function processException(Exception $exception): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user