Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 21, 2018
1 parent 479f0c4 commit 4443017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -73,7 +73,7 @@ Contributing security advisories is as easy as it can get:
issue is not fixed yet (most of the time, the date of the commit
that fixed the issue in the following format `2012-08-27 19:17:44`)
-- this information must be as accurate as possible as it is used
to determined if a software is affected or not;
to determine if a project is affected or not;

* `versions`: An array of constraints describing affected versions
for this branch (this is the same format as the one used for
Expand Down
2 changes: 1 addition & 1 deletion validator.php
Expand Up @@ -162,7 +162,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}

if (!isset($branch['time'])) {
if (!array_key_exists('time', $branch)) {
$messages[$path][] = sprintf('Key "time" is required for branch "%s".', $name);
}

Expand Down

0 comments on commit 4443017

Please sign in to comment.