Skip to content

Commit

Permalink
PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Jun 28, 2023
1 parent 19d75d2 commit 7445980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function showTransactionAction(Reader $reader, string $hash): Response
}

#[Route(path: '/audit/{entity}/{id}', name: 'dh_auditor_show_entity_history', methods: ['GET'])]
public function showEntityHistoryAction(Request $request, Reader $reader, string $entity, int|string $id = null): Response
public function showEntityHistoryAction(Request $request, Reader $reader, string $entity, int|string|null $id = null): Response
{
\assert(\is_string($request->query->get('page', '1')) || \is_int($request->query->get('page', '1')));
$page = (int) $request->query->get('page', '1');
Expand Down

0 comments on commit 7445980

Please sign in to comment.