mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-12 18:30:06 +01:00
Fixed some inspection issues.
This commit is contained in:
@@ -63,6 +63,7 @@ use App\Entity\UserSystem\Group;
|
||||
use App\Entity\UserSystem\User;
|
||||
use App\Exceptions\EntityNotSupportedException;
|
||||
use App\Services\Attachments\AttachmentURLGenerator;
|
||||
use DateTime;
|
||||
use function array_key_exists;
|
||||
use function get_class;
|
||||
use InvalidArgumentException;
|
||||
@@ -128,7 +129,7 @@ class EntityURLGenerator
|
||||
/**
|
||||
* Gets the URL to view the given element at a given timestamp.
|
||||
*/
|
||||
public function timeTravelURL(AbstractDBElement $entity, \DateTime $dateTime): string
|
||||
public function timeTravelURL(AbstractDBElement $entity, DateTime $dateTime): string
|
||||
{
|
||||
$map = [
|
||||
Part::class => 'part_info',
|
||||
|
||||
Reference in New Issue
Block a user