File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <!-- EN-Revision: 844190217fcb8ad1d0790ef5a90f7c18fa9d1a9d Maintainer: yannick Status: ready -->
2
+ <!-- EN-Revision: 402a72776804fbb74ec5c4cad72d4c7b6cdd5b2d Maintainer: yannick Status: ready -->
3
3
<!-- Reviewed: no -->
4
4
5
5
<chapter xml : id =" language.exceptions" >
@@ -400,7 +400,7 @@ class Exception implements Throwable
400
400
private $trace; // trace de la pile d'exécution
401
401
private $previous; // exception précédente si exception imbriquée
402
402
403
- public function __construct($message = '', $code = 0, Throwable $previous = null);
403
+ public function __construct($message = '', $code = 0, ? Throwable $previous = null);
404
404
405
405
final private function __clone(); // Inhibe la duplication des exceptions.
406
406
@@ -447,7 +447,7 @@ class Exception implements Throwable
447
447
class MyException extends Exception
448
448
{
449
449
// Redéfini l'exception pour que le message ne soit pas facultatif.
450
- public function __construct($message, $code = 0, Throwable $previous = null) {
450
+ public function __construct($message, $code = 0, ? Throwable $previous = null) {
451
451
// du code
452
452
453
453
// s'assurer que tout est correctement assigné
You can’t perform that action at this time.
0 commit comments