From 578d0314ec3fa6abd28cc19384d5da62018cfbc9 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 16 Jan 2020 15:27:15 -0600 Subject: [PATCH] remove BraintreeException not sure why this doesn't require a FQN, since the class is not being imported, but mimicking the other thrown exception. --- lib/FroalaEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FroalaEditor.php b/lib/FroalaEditor.php index cfbfa49..c76c4d6 100644 --- a/lib/FroalaEditor.php +++ b/lib/FroalaEditor.php @@ -8,7 +8,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'autoload.php'); if (version_compare(PHP_VERSION, '5.4.0', '<')) { - throw new Braintree_Exception('PHP version >= 5.4.0 required'); + throw new Exception('PHP version >= 5.4.0 required'); } function requireDependencies() {