Skip to content

Commit ae394b6

Browse files
author
Andrii Afanasiev
committed
fix test for php5.6
1 parent 2cf1cfd commit ae394b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/SymfonyRollbarBundle/EventListener/ExceptionListenerTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ public function testSkipException()
175175

176176
/**
177177
* @dataProvider generatorHandleParams
178-
* @param $data
178+
* @param \Throwable $data
179179
*/
180-
public function testHandleParams(\Throwable $data)
180+
public function testHandleParams($data)
181181
{
182182
$container = static::$kernel->getContainer();
183183

@@ -205,6 +205,7 @@ public function generatorHandleParams()
205205
[new \Exception('This is new exception')],
206206
[new \Exception('This is one more new exception')],
207207
[new \TypeError('This is TypeError')],
208+
[new \DivisionByZeroError('This is DivisionByZeroError')],
208209
];
209210
}
210211
}

0 commit comments

Comments
 (0)