mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Fixed coding style.
This commit is contained in:
parent
0a94689d98
commit
f2ff77a8b3
44 changed files with 435 additions and 387 deletions
|
@ -40,11 +40,11 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||
|
||||
final class AttachmentDataTable implements DataTableTypeInterface
|
||||
{
|
||||
protected $translator;
|
||||
protected $entityURLGenerator;
|
||||
protected $attachmentHelper;
|
||||
protected $elementTypeNameGenerator;
|
||||
protected $attachmentURLGenerator;
|
||||
private $translator;
|
||||
private $entityURLGenerator;
|
||||
private $attachmentHelper;
|
||||
private $elementTypeNameGenerator;
|
||||
private $attachmentURLGenerator;
|
||||
|
||||
public function __construct(TranslatorInterface $translator, EntityURLGenerator $entityURLGenerator,
|
||||
AttachmentManager $attachmentHelper, AttachmentURLGenerator $attachmentURLGenerator,
|
||||
|
@ -203,7 +203,7 @@ final class AttachmentDataTable implements DataTableTypeInterface
|
|||
]);
|
||||
}
|
||||
|
||||
protected function getQuery(QueryBuilder $builder): void
|
||||
private function getQuery(QueryBuilder $builder): void
|
||||
{
|
||||
$builder->distinct()->select('attachment')
|
||||
->addSelect('attachment_type')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue