Skip to content

Commit

Permalink
-[x] fix: fixed autofillsettings value when csv import return type
Browse files Browse the repository at this point in the history
  • Loading branch information
aashish-t-magar committed Jun 28, 2023
1 parent 2df9908 commit d137d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/IATI/Repositories/Activity/ActivityRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ public function createActivity($activityData): Model
* @param $csvValue
* @param $defaultElementName
*
* @return array|null
* @return int|string|null
*
* @throws BindingResolutionException
*/
public function autoFillSettingsValue($csvValue, $defaultElementName): ?array
public function autoFillSettingsValue($csvValue, $defaultElementName): int|string|null
{
if (!empty($csvValue)) {
return $csvValue;
Expand Down

0 comments on commit d137d07

Please sign in to comment.