diff --git a/src/Appwrite/Extend/Exception.php b/src/Appwrite/Extend/Exception.php index eb3845e8b..3052f4154 100644 --- a/src/Appwrite/Extend/Exception.php +++ b/src/Appwrite/Extend/Exception.php @@ -303,7 +303,7 @@ class Exception extends \Exception $this->code = $code ?? $this->errors[$type]['code']; // todo: Handle better PDOExceptions - if(is_string($this->code)){ + if(is_string($this->code)) { $this->code = 500; }