Fix braces
parent
2548d7cca8
commit
13c1b3a3a2
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue