Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace RuntimeException with assert check in CompileVisitor
Replaced is_object check with an assert to test validity of instance type in CompileVisitor.php. Removed the usage of RuntimeException. Function "gettype" has been introduced for instance type identification. This refactoring lends to a cleaner code structure and exception handling.
- Loading branch information