Fix braces
parent
2548d7cca8
commit
13c1b3a3a2
|
@ -126,9 +126,9 @@ class Project
|
||||||
return coroutine(function () use ($uri) {
|
return coroutine(function () use ($uri) {
|
||||||
$limit = 150000;
|
$limit = 150000;
|
||||||
$content = yield $this->contentRetriever->retrieve($uri);
|
$content = yield $this->contentRetriever->retrieve($uri);
|
||||||
$size = strlen($content);
|
$size = strlen($content);
|
||||||
if ($size > $limit) {
|
if ($size > $limit) {
|
||||||
throw new ContentTooLargeException($uri, $size, $limit);
|
throw new ContentTooLargeException($uri, $size, $limit);
|
||||||
}
|
}
|
||||||
if (isset($this->documents[$uri])) {
|
if (isset($this->documents[$uri])) {
|
||||||
$document = $this->documents[$uri];
|
$document = $this->documents[$uri];
|
||||||
|
|
Loading…
Reference in New Issue