Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+5 -3
View File
@@ -10,15 +10,17 @@
namespace IPS\Login\Handler\OAuth2;
use Exception as PHPException;
/**
* OAuth2 Exception
*/
class _Exception extends \Exception
class Exception extends PHPException
{
/**
* @brief Description of the error
*/
public $description;
public ?string $description = NULL;
/**
* Constructor
@@ -27,7 +29,7 @@ class _Exception extends \Exception
* @param string|NULL $description Error Description or NULL.
* @return void
*/
public function __construct( $message, $description = null )
public function __construct( string $message, ?string $description = null )
{
parent::__construct( $message );
$this->description = $description;