Skip to content

Commit

Permalink
return type for PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakvn committed Nov 15, 2023
1 parent 7ba678a commit 3d92d54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Form/PsreassuranceFormDataHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ public function update($id, array $data)
* @param int $type_link
* @param int $id_cms
*
* @return void
*
* @todo migrate this temporary function to above standard function create
*/
public function createLangs($psreassurance, $psr_languages, $type_link, $id_cms): void
public function createLangs($psreassurance, $psr_languages, $type_link, $id_cms)
{
foreach ($psr_languages as $langId => $langContent) {
$lang = $this->langRepository->findOneById($langId);
Expand Down Expand Up @@ -123,6 +125,8 @@ public function createLangs($psreassurance, $psr_languages, $type_link, $id_cms)
* @param int $type_link
* @param int $id_cms
*
* @return void
*
* @todo migrate this temporary function to above standard function update
*/
public function updateLangs($psreassurance, $psr_languages, $type_link, $id_cms): void
Expand Down

0 comments on commit 3d92d54

Please sign in to comment.