1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix line length

This commit is contained in:
Matthew Brown 2020-01-29 22:31:23 -05:00
parent 933dff9e20
commit 989123f82e

View File

@ -1920,7 +1920,10 @@ class ExpressionAnalyzer
if ($atomic_type instanceof TNamedObject
&& $codebase->methods->methodExists($atomic_type->value . '::__tostring')
) {
$return_type = $codebase->methods->getMethodReturnType($atomic_type->value . '::__tostring', $self_class);
$return_type = $codebase->methods->getMethodReturnType(
$atomic_type->value . '::__tostring',
$self_class
);
if ($return_type) {
$castable_types = array_merge(