We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d4cf25 commit b5057bbCopy full SHA for b5057bb
1 file changed
src/Exception.php
@@ -25,7 +25,7 @@ class Exception extends \RuntimeException
25
* @param int $code The Exception code
26
* @param \Exception $previous The previous exception used for the exception chaining.
27
*/
28
- public function __construct($message = "", $code = 0, \Exception $previous = null)
+ public function __construct($message = "", $code = 0, ?\Exception $previous = null)
29
{
30
if (!$code) {
31
$code = self::E_ANY;
0 commit comments