mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-29 05:00:08 +02:00
Make LabelGenerator services final.
This commit is contained in:
parent
28187f1ef2
commit
e925bec5b6
18 changed files with 48 additions and 48 deletions
|
@ -30,7 +30,7 @@ use App\Services\ElementTypeNameGenerator;
|
|||
use Dompdf\Dompdf;
|
||||
use Twig\Environment;
|
||||
|
||||
class LabelGenerator
|
||||
final class LabelGenerator
|
||||
{
|
||||
public const CLASS_SUPPORT_MAPPING = [
|
||||
'part' => Part::class,
|
||||
|
@ -40,7 +40,7 @@ class LabelGenerator
|
|||
|
||||
public const MM_TO_POINTS_FACTOR = 2.83465;
|
||||
|
||||
protected $labelHTMLGenerator;
|
||||
private $labelHTMLGenerator;
|
||||
|
||||
public function __construct(LabelHTMLGenerator $labelHTMLGenerator)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue