From 9d9a1aeb837d1edc49a5afefc28d79fa2cf15de2 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Mon, 22 Feb 2016 11:32:32 -0500 Subject: [PATCH] Fix bug --- lib/StatementsChecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StatementsChecker.php b/lib/StatementsChecker.php index 10d214567..48091a72a 100644 --- a/lib/StatementsChecker.php +++ b/lib/StatementsChecker.php @@ -1263,7 +1263,7 @@ class StatementsChecker return; } catch (\ReflectionException $e) { - throw new CodeException('Method ' . $method_id . ' does not exist', $this->_file_name, $stmt->getLine()); + throw new CodeException('Method ' . $method_id . ' does not exist', $file_name, $stmt->getLine()); } }