Skip to content

Commit 9b2e164

Browse files
authored
Merge pull request #10 from stefnats/patch-1
Fix ZohoOAuthException for PHP 8
2 parents 1d874d6 + 0a08530 commit 9b2e164

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

lib/zoho/oauth/Exception/ZohoOAuthException.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@
66
class ZohoOAuthException extends Exception
77
{
88

9-
protected $message = 'Unknown exception';
10-
11-
// Exception message
12-
protected $code = 0;
13-
14-
// Unknown
15-
protected $file;
16-
17-
// User-defined exception code
18-
protected $line;
19-
209
// Source filename of exception
2110
private $string;
2211

@@ -35,4 +24,4 @@ public function __toString()
3524
{
3625
return get_class($this) . " Caused by:'{$this->message}' in {$this->file}({$this->line})\n" . "{$this->getTraceAsString()}";
3726
}
38-
}
27+
}

0 commit comments

Comments
 (0)