Skip to content

Commit

Permalink
Fixed PHP 7.4 compatibility
Browse files Browse the repository at this point in the history
Added compatibility with PHP <8.0. Added required variable to catch block.
  • Loading branch information
dudzio12 authored Jun 17, 2024
1 parent 630325c commit 3275412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public function getIDELinkForClass($class)
return $this->getIDELinkForFile($file, 1, $class);
}

} catch (\ReflectionException) {
} catch (\ReflectionException $e) {

}
return $class;
Expand Down

0 comments on commit 3275412

Please sign in to comment.