Skip to content

Commit

Permalink
CRM-2152 Magento Integration: Sensitive data displayed in API request…
Browse files Browse the repository at this point in the history
… logs

   - code style fixes
  • Loading branch information
Alexandr Smaga committed Nov 26, 2014
1 parent 6a8ae49 commit cc8ab48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Oro/Bundle/ImportExportBundle/Job/JobResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ public function addFailureException($failureException)
}

/**
* @param array $failureException
* @param array $exceptions
*
* @return $this
*/
public function setFailureExceptions(array $failureException)
public function setFailureExceptions(array $exceptions)
{
$this->failureExceptions = $failureException;
$this->failureExceptions = $exceptions;
return $this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function ($match) use ($statistic) {
*/
private function fetchStatistic(ContextInterface $context = null)
{
$counts = array_fill_keys(['process', 'processed', 'updated', 'deleted', 'added', 'invalid'], 0);
$counts = array_fill_keys(['read', 'processed', 'updated', 'deleted', 'added', 'invalid'], 0);
if ($context) {
$counts['read'] = (int)$context->getReadCount();
$counts['processed'] += $counts['added'] = (int)$context->getAddCount();
Expand Down

0 comments on commit cc8ab48

Please sign in to comment.