Various code cleanup.

This commit is contained in:
James Cole
2017-09-14 17:40:02 +02:00
parent 761e9effae
commit 5e900736f8
59 changed files with 315 additions and 1912 deletions

View File

@@ -64,6 +64,7 @@ class JournalLinkRequest extends Request
$combinations[] = sprintf('%d_outward', $type->id);
}
$string = join(',', $combinations);
// fixed
return [
'link_type' => sprintf('required|in:%s', $string),