Minor - Fix format code.

pull/3124/head
Julio Montoya 5 years ago
parent 09dc57bfc3
commit ccfee355f1
  1. 1
      src/CoreBundle/Controller/Admin/PluginsController.php
  2. 1
      src/CoreBundle/Controller/Admin/SettingsController.php
  3. 7
      src/CourseBundle/Manager/SettingsFormFactory.php

@ -4,7 +4,6 @@
namespace Chamilo\CoreBundle\Controller\Admin;
use Chamilo\SettingsBundle\Manager\SettingsManager;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Sylius\Bundle\SettingsBundle\Controller\SettingsController as SyliusSettingsController;
use Symfony\Component\Routing\Annotation\Route;

@ -13,7 +13,6 @@ use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Translation\Translator;
use Symfony\Component\Validator\Exception\ValidatorException;
use Symfony\Contracts\Translation\TranslatorInterface;

@ -21,19 +21,12 @@ final class SettingsFormFactory implements SettingsFormFactoryInterface
*/
private $formFactory;
/**
* @param ServiceRegistryInterface $schemaRegistry
* @param FormFactoryInterface $formFactory
*/
public function __construct(ServiceRegistryInterface $schemaRegistry, FormFactoryInterface $formFactory)
{
$this->schemaRegistry = $schemaRegistry;
$this->formFactory = $formFactory;
}
/**
* {@inheritdoc}
*/
public function create($schemaAlias, $data = null, array $options = [])
{
/** @var SchemaInterface $schema */

Loading…
Cancel
Save