Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function __construct( |
||
28 | $missingNotificationType, |
||
29 | $missingNotification, |
||
30 | $foundedNotificationType, |
||
31 | $foundedNotification, |
||
32 | $code = 0, |
||
33 | \Exception $previous = null |
||
34 | ) { |
||
35 | $message = sprintf( |
||
36 | "Expected *%s* notification with a \"%s\" message was not found.\n *%s* notification with a \"%s\" message has been found.", |
||
37 | $missingNotificationType, |
||
38 | $missingNotification, |
||
39 | $foundedNotificationType, |
||
40 | $foundedNotification |
||
41 | ); |
||
42 | |||
43 | parent::__construct($message, $code, $previous); |
||
44 | } |
||
45 | } |
||
46 |