mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix nested calls
This commit is contained in:
parent
45d0d41ffa
commit
f24eea342c
@ -1897,7 +1897,9 @@ class StatementsChecker
|
|||||||
|
|
||||||
$description_lines = null;
|
$description_lines = null;
|
||||||
|
|
||||||
if (!empty(trim($parsed_doc_comment['description']))) {
|
$trimmed_description = trim($parsed_doc_comment['description']);
|
||||||
|
|
||||||
|
if (!empty($trimmed_description)) {
|
||||||
$description_lines = explode(PHP_EOL, $parsed_doc_comment['description']);
|
$description_lines = explode(PHP_EOL, $parsed_doc_comment['description']);
|
||||||
|
|
||||||
foreach ($description_lines as $line) {
|
foreach ($description_lines as $line) {
|
||||||
|
Loading…
Reference in New Issue
Block a user