mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Fix line length
This commit is contained in:
parent
933dff9e20
commit
989123f82e
@ -1920,7 +1920,10 @@ class ExpressionAnalyzer
|
|||||||
if ($atomic_type instanceof TNamedObject
|
if ($atomic_type instanceof TNamedObject
|
||||||
&& $codebase->methods->methodExists($atomic_type->value . '::__tostring')
|
&& $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) {
|
if ($return_type) {
|
||||||
$castable_types = array_merge(
|
$castable_types = array_merge(
|
||||||
|
Loading…
Reference in New Issue
Block a user