Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:37 +01:00
parent f53923f16c
commit f52675068b
151 changed files with 251 additions and 403 deletions

View File

@@ -53,12 +53,12 @@ class JournalList implements BinderInterface
$collector->setJournalIds($list);
$result = $collector->getExtractedJournals();
if (empty($result)) {
throw new NotFoundHttpException;
throw new NotFoundHttpException();
}
return $result;
}
throw new NotFoundHttpException;
throw new NotFoundHttpException();
}
/**
@@ -70,7 +70,7 @@ class JournalList implements BinderInterface
{
$list = array_unique(array_map('\intval', explode(',', $value)));
if (empty($list)) {
throw new NotFoundHttpException;
throw new NotFoundHttpException();
}
return $list;