MediaAdminBundle/Controller/Admin/FolderController.php
Method newAction
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function newAction(Request $request, $parentId=null)
{
$folderClass = $this->getParameter('open_orchestra_media.document.media_folder.class');
$folder = new $folderClass();
if (!is_null($parentId)) {
- Create a ticketCreate a ticket