Skip to content

Commit 3275412

Browse files
authored
Fixed PHP 7.4 compatibility
Added compatibility with PHP <8.0. Added required variable to catch block.
1 parent 630325c commit 3275412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function getIDELinkForClass($class)
437437
return $this->getIDELinkForFile($file, 1, $class);
438438
}
439439

440-
} catch (\ReflectionException) {
440+
} catch (\ReflectionException $e) {
441441

442442
}
443443
return $class;

0 commit comments

Comments
 (0)