1
0
Fork 0

Fix braces

pull/208/head
Felix Becker 2016-12-08 01:41:37 +01:00
parent 2548d7cca8
commit 13c1b3a3a2
1 changed files with 3 additions and 3 deletions

View File

@ -126,9 +126,9 @@ class Project
return coroutine(function () use ($uri) {
$limit = 150000;
$content = yield $this->contentRetriever->retrieve($uri);
$size = strlen($content);
if ($size > $limit) {
throw new ContentTooLargeException($uri, $size, $limit);
$size = strlen($content);
if ($size > $limit) {
throw new ContentTooLargeException($uri, $size, $limit);
}
if (isset($this->documents[$uri])) {
$document = $this->documents[$uri];