@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | if (count($res) >= 2 && empty($auteur2)) { |
182 | 182 | // delete author-params |
183 | 183 | array_map( |
184 | - function ($param) { |
|
184 | + function($param) { |
|
185 | 185 | $this->unsetParam($param); |
186 | 186 | }, |
187 | 187 | ['auteur', 'auteurs', 'prénom1', 'nom1'] |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | // todo bug {{citation bloc}} si "=" ou "|" dans texte de citation |
532 | 532 | // Legacy : use {{début citation}} ... {{fin citation}} |
533 | 533 | if (preg_match('#[=|]#', $extrait) > 0) { |
534 | - $this->optiTemplate->externalTemplates[] = (object)[ |
|
534 | + $this->optiTemplate->externalTemplates[] = (object) [ |
|
535 | 535 | 'template' => 'début citation', |
536 | 536 | '1' => '', |
537 | 537 | 'raw' => '{{Début citation}}'.$extrait.'{{Fin citation}}', |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | $this->notCosmetic = true; |
541 | 541 | } else { |
542 | 542 | // StdClass |
543 | - $this->optiTemplate->externalTemplates[] = (object)[ |
|
543 | + $this->optiTemplate->externalTemplates[] = (object) [ |
|
544 | 544 | 'template' => 'citation bloc', |
545 | 545 | '1' => $extrait, |
546 | 546 | 'raw' => '{{Citation bloc|'.$extrait.'}}', |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | // "commentaire=bla" => {{Commentaire biblio|1=bla}} |
557 | 557 | if ($this->hasParamValue('commentaire')) { |
558 | 558 | $commentaire = $this->getParam('commentaire'); |
559 | - $this->optiTemplate->externalTemplates[] = (object)[ |
|
559 | + $this->optiTemplate->externalTemplates[] = (object) [ |
|
560 | 560 | 'template' => 'commentaire biblio', |
561 | 561 | '1' => $commentaire, |
562 | 562 | 'raw' => '{{Commentaire biblio|'.$commentaire.'}}', |
@@ -700,7 +700,7 @@ discard block |
||
700 | 700 | $this->log->error('Catch EDITOR_TITLES_FILENAME import '.$e->getMessage()); |
701 | 701 | } |
702 | 702 | if (isset($data[$publisherName])) { |
703 | - return (string)urldecode($data[$publisherName]); |
|
703 | + return (string) urldecode($data[$publisherName]); |
|
704 | 704 | } |
705 | 705 | |
706 | 706 | return null; |