Refactoring

This commit is contained in:
Peter Papp
2021-07-22 14:24:07 +02:00
parent 69eb8dacce
commit 093c9451ec
34 changed files with 214 additions and 120 deletions
@@ -11,14 +11,14 @@ use Symfony\Component\HttpFoundation\StreamedResponse;
class SharePublicIndexController extends Controller
{
/**
* Show page index and delete share_session cookie
*/
public function __construct(
public RecordDownloadAction $recordDownload,
) {
}
/**
* Show page index and delete share_session cookie
*/
public function __invoke(
Share $shared,
): View | StreamedResponse {