Skip to content

Commit

Permalink
updating block admin enque
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jan 17, 2024
1 parent 7a6d073 commit b0a2af5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Config/UtilsConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ class UtilsConfig
public const IARD_ITEM_ID = self::FD_ITEM_ID;
public const IARD_FORM_ID = self::FD_FORM_ID;
public const IARD_IS_DISABLED = 'isDisabled';
public const IARD_VALIDATION = 'validation';
public const IARD_VALIDATION = self::FD_VALIDATION;

// ------------------------------------------------------------------
// CAPS
Expand Down
4 changes: 2 additions & 2 deletions src/Helpers/UtilsApiHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ public static function getIntegrationApiReponseDetails(
* NOTE: Not for public response on API.
*
* @param array<string, mixed> $details Details provided by getIntegrationApiReponseDetails method.
* @param string $msg Message to output.
* @param array<string, mixed> $additional Additional array details to attach to the success output.
*
* @return array<string, mixed>
*/
public static function getIntegrationErrorInternalOutput(array $details, string $msg, array $additional = []): array
public static function getIntegrationErrorInternalOutput(array $details, array $additional = []): array
{
return \array_merge(
$details,
[
'status' => UtilsConfig::STATUS_ERROR,
'message' => $details[UtilsConfig::IARD_MSG] ?? '',
],
$additional
);
Expand Down

0 comments on commit b0a2af5

Please sign in to comment.