Skip to content

Commit

Permalink
Cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre RAMBAUD committed May 18, 2020
1 parent 3545dfd commit 7dc1f80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/Module/ModuleDataProvider.php
Expand Up @@ -222,7 +222,7 @@ public function isModuleMainClassValid($name)
$log_context_data = [
'object_type' => 'Module',
'object_id' => LegacyModule::getModuleIdByName($name),
];
];

try {
$parser->parse(file_get_contents($file_path));
Expand Down
10 changes: 5 additions & 5 deletions src/PrestaShopBundle/Controller/Admin/ProductController.php
Expand Up @@ -1343,10 +1343,10 @@ private function getErrorMessages(): array
private function getLogDataContext($id_product = null, $error_code = null, $allow_duplicate = null): array
{
return [
'object_type' => 'Product',
'object_id' => $id_product,
'error_code' => $error_code,
'allow_duplicate' => $allow_duplicate,
];
'object_type' => 'Product',
'object_id' => $id_product,
'error_code' => $error_code,
'allow_duplicate' => $allow_duplicate,
];
}
}

0 comments on commit 7dc1f80

Please sign in to comment.