Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -34,11 +34,6 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class JournalList implements BinderInterface
{
/**
* @param string $value
* @param Route $route
*
* @return array
*
* @throws NotFoundHttpException
*/
public static function routeBinder(string $value, Route $route): array
@@ -59,14 +54,10 @@ class JournalList implements BinderInterface
return $result;
}
throw new NotFoundHttpException();
}
/**
* @param string $value
*
* @return array
*/
protected static function parseList(string $value): array
{
$list = array_unique(array_map('\intval', explode(',', $value)));