1
0
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:
Matthew Brown 2016-04-30 15:43:06 -04:00
parent 45d0d41ffa
commit f24eea342c

View File

@ -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) {