From 9bc31ac42fa90aa8016598aabf8e10d7c5e1feda Mon Sep 17 00:00:00 2001 From: Amit sharma Date: Tue, 30 Dec 2025 15:36:00 +0530 Subject: [PATCH] Fixed: remove text formatter --- tools/parser_sql/php_sql_parser_autoload.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/parser_sql/php_sql_parser_autoload.php b/tools/parser_sql/php_sql_parser_autoload.php index 9a84efe06..d5ab4c7e6 100644 --- a/tools/parser_sql/php_sql_parser_autoload.php +++ b/tools/parser_sql/php_sql_parser_autoload.php @@ -31,10 +31,8 @@ function classAutoLoader($class) return; } - $parts = explode('\\', $class); - $className = end($parts); - - if (class_exists($className)) { + $className = end(explode('\\', $class)); + if(class_exists($className)) { return; }