Exception\LogicException does not correspond with the class used in the code (`LogicException`) on of those should be changed (same below)