leftSideTypes; if (empty($types) && $analysis->leftSideValue !== null && \is_object($analysis->leftSideValue)) { $types = [\get_class($analysis->leftSideValue)]; } if (empty($types)) { return []; } $properties = []; foreach ($types as $type) { try { $reflection = new \ReflectionClass($type); } catch (\ReflectionException $e) { continue; } foreach (Docblock::getMagicProperties($reflection) as $property) { $properties[] = $property->getName(); } } return \array_values(\array_unique($properties)); } }