Skip to content

Commit 01c3a7d

Browse files
authored
Merge pull request #102 from OwlyCode/fix-php7-errors
Added php7 errors compatibility
2 parents e6eea3a + 5236c8b commit 01c3a7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Error/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ public function handleErrors(ExecutionResult $executionResult, $throwRawExceptio
164164
*
165165
* @param \Exception $rawException
166166
*
167-
* @return \Exception
167+
* @return \Exception|\Error
168168
*/
169-
protected function convertException(\Exception $rawException = null)
169+
protected function convertException($rawException = null)
170170
{
171171
if (null === $rawException) {
172172
return;

0 commit comments

Comments
 (0)