Skip to content
Snippets Groups Projects
Commit 19dcb18d authored by Chandansha Fakir's avatar Chandansha Fakir Committed by Andrei Ivnitskii
Browse files

issue #3296124: Fix coding standard - Multi-line function declarations must...

issue #3296124: Fix coding standard - Multi-line function declarations must define one parameter per line
parent 10b1162d
No related branches found
No related tags found
1 merge request!91Needs reroll to MR Fixed it.
Pipeline #318109 passed with warnings
......@@ -30,9 +30,8 @@ abstract class FlagConfirmFormBase extends ConfirmFormBase {
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state,
FlagInterface $flag = NULL, $entity_id = NULL) {
public function buildForm(array $form, FormStateInterface $form_state, FlagInterface $flag = NULL, $entity_id = NULL) {
$this->flag = $flag;
$flag_service = \Drupal::service('flag');
$this->entity = $flag_service->getFlaggableById($this->flag, $entity_id);
......
......@@ -21,8 +21,7 @@ class FlagDisableConfirmForm extends ConfirmFormBase {
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state,
FlagInterface $flag = NULL) {
public function buildForm(array $form, FormStateInterface $form_state, FlagInterface $flag = NULL) {
$this->flag = $flag;
return parent::buildForm($form, $form_state);
}
......
......@@ -49,8 +49,7 @@ class FlagResetForm extends ConfirmFormBase {
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state,
FlagInterface $flag = NULL) {
public function buildForm(array $form, FormStateInterface $form_state, FlagInterface $flag = NULL) {
$this->flag = $flag;
return parent::buildForm($form, $form_state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment