From e5c5b4ae73307fbf092b211511552a2277687aa0 Mon Sep 17 00:00:00 2001 From: Andrew Nagy Date: Thu, 28 Apr 2022 18:42:20 +0000 Subject: [PATCH] these commas man! --- src/Psalm/Internal/LanguageServer/Codebase.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Psalm/Internal/LanguageServer/Codebase.php b/src/Psalm/Internal/LanguageServer/Codebase.php index 5d36b2059..a554798df 100644 --- a/src/Psalm/Internal/LanguageServer/Codebase.php +++ b/src/Psalm/Internal/LanguageServer/Codebase.php @@ -208,12 +208,12 @@ class Codebase extends PsalmCodebase [$fq_classlike_name, $const_name] = explode( '::', - $reference->symbol, + $reference->symbol ); $class_constants = $this->classlikes->getConstantsForClass( $fq_classlike_name, - ReflectionProperty::IS_PRIVATE, + ReflectionProperty::IS_PRIVATE ); if (!isset($class_constants[$const_name])) { @@ -291,7 +291,7 @@ class Codebase extends PsalmCodebase $namespace_constants = NamespaceAnalyzer::getConstantsForNamespace( $namespace_name, - ReflectionProperty::IS_PUBLIC, + ReflectionProperty::IS_PUBLIC ); //Namespace Constant if (isset($namespace_constants[$const_name])) { @@ -392,7 +392,7 @@ class Codebase extends PsalmCodebase $file_contents, $matches, 0, - $end_pos_excluding_whitespace, + $end_pos_excluding_whitespace ) ? strlen($matches[0]) : 0;