Skip to content

2.0.1: Vendor packages type hints are not always present.

Compare
Choose a tag to compare
@GeoffreyDijkstra GeoffreyDijkstra released this 17 Jan 09:46
· 5 commits to master since this release
06440a8
Because some vendor don't use type hints in their vendor packages the code died on trying to get a class name from the variable. By checking first if parameter type isn't empty we can avoid this and the rest of the code can continue.