← All changes
|
src/Framework/FieldsAPI/Exceptions/ReferenceNodeNotFoundException.php
+5
-7
4.16.7.1
→
2.17.0
View file →
| @@ -6,12 +6,10 @@ | ||
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * @since 2.10.2 |
| 9 | 9 | */ |
| 10 | -class ReferenceNodeNotFoundException extends Exception | |
| 11 | -{ | |
| 12 | - public function __construct($name, $code = 0, Exception $previous = null) | |
| 13 | - { | |
| 14 | - $message = "Reference node with the name \"$name\" not found - cannot insert new node."; | |
| 15 | - parent::__construct($message, $code, $previous); | |
| 16 | - } | |
| 10 | +class ReferenceNodeNotFoundException extends Exception { | |
| 11 | + public function __construct( $name, $code = 0, Exception $previous = null ) { | |
| 12 | + $message = "Reference node with the name \"$name\" not found - cannot insert new node."; | |
| 13 | + parent::__construct( $message, $code, $previous ); | |
| 14 | + } | |
| 17 | 15 | } |