Skip to content

Commit 8b4bbad

Browse files
committed
Check for correct type
1 parent 48177df commit 8b4bbad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Phpbb/TranslationValidator/Validator/FileValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ public function validateJsonFile($originFile)
579579
$this->output->addMessage(Output::FATAL, 'File must contain a description value', $originFile);
580580
}
581581
// Check if the type is correctly defined
582-
if (!$jsonContent['type'] == 'phpbb-language')
582+
if ($jsonContent['type'] != 'phpbb-language')
583583
{
584584
$this->output->addMessage(Output::FATAL, 'File must contain a type with the value "phpbb-language"', $originFile);
585585
}

0 commit comments

Comments
 (0)