Skip to content

Commit

Permalink
[framework] abstractcontroller - fix createForm method visibility (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
seferov authored Apr 14, 2023
1 parent 57664eb commit 2aa5964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Psr\Container\ContainerInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormTypeInterface;

class AbstractController implements ServiceSubscriberInterface
abstract class AbstractController implements ServiceSubscriberInterface
{
/**
* @var ContainerInterface
Expand All @@ -23,5 +23,5 @@ class AbstractController implements ServiceSubscriberInterface
*
* @psalm-return FormInterface<TData>
*/
public function createForm(string $type, $data = null, array $options = []): FormInterface {}
protected function createForm(string $type, $data = null, array $options = []): FormInterface {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Psr\Container\ContainerInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormTypeInterface;

class AbstractController implements ServiceSubscriberInterface
abstract class AbstractController implements ServiceSubscriberInterface
{
/**
* @var ContainerInterface
Expand Down

0 comments on commit 2aa5964

Please sign in to comment.