mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -230,7 +230,7 @@ class EventController extends AbstractController
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function newAction(?Center $center = null, Request $request)
|
||||
public function newAction(?Center $center, Request $request)
|
||||
{
|
||||
if (null === $center) {
|
||||
$center_id = $request->query->get('center_id');
|
||||
|
@@ -29,7 +29,7 @@ use function in_array;
|
||||
* @ORM\Table(name="chill_event_participation")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*/
|
||||
class Participation implements HasCenterInterface, HasScopeInterface, ArrayAccess
|
||||
class Participation implements ArrayAccess, HasCenterInterface, HasScopeInterface
|
||||
{
|
||||
/**
|
||||
* @var Event
|
||||
|
Reference in New Issue
Block a user