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

Merge pull request #78 from vimeo/fix-classlikechecker-typo

Fixing a typo in the ClassLikeChecker exception message.
This commit is contained in:
Matthew Brown 2017-01-29 00:36:59 -05:00 committed by GitHub
commit bddfe41e67

View File

@ -569,7 +569,7 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
if ($first_uninitialized_property->location) {
if (IssueBuffer::accepts(
new MissingConstructor(
$fq_class_name . ' has an unitiialized variable ' . $uninitialized_variables[0] .
$fq_class_name . ' has an uninitialized variable ' . $uninitialized_variables[0] .
', but no constructor',
$first_uninitialized_property->location
),