@@ -246,6 +246,6 @@ |
||
246 | 246 | */ |
247 | 247 | public function getIDString(): string |
248 | 248 | { |
249 | - return 'PD' . sprintf('%06d', $this->getID()); |
|
249 | + return 'PD'.sprintf('%06d', $this->getID()); |
|
250 | 250 | } |
251 | 251 | } |
252 | 252 | \ No newline at end of file |
@@ -89,7 +89,7 @@ |
||
89 | 89 | */ |
90 | 90 | public function getIDString(): string |
91 | 91 | { |
92 | - return 'O' . sprintf('%06d', $this->getID()); |
|
92 | + return 'O'.sprintf('%06d', $this->getID()); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /******************************************************************************** |
@@ -99,7 +99,7 @@ |
||
99 | 99 | */ |
100 | 100 | public function getIDString(): string |
101 | 101 | { |
102 | - return 'L' . sprintf('%06d', $this->getID()); |
|
102 | + return 'L'.sprintf('%06d', $this->getID()); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | } |
106 | 106 | \ No newline at end of file |
@@ -80,7 +80,7 @@ |
||
80 | 80 | */ |
81 | 81 | public function getIDString(): string |
82 | 82 | { |
83 | - return 'F' . sprintf('%06d', $this->getID()); |
|
83 | + return 'F'.sprintf('%06d', $this->getID()); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | /**************************************** |
@@ -61,6 +61,6 @@ |
||
61 | 61 | */ |
62 | 62 | public function getIDString(): string |
63 | 63 | { |
64 | - return 'DP' . sprintf('%06d', $this->getID()); |
|
64 | + return 'DP'.sprintf('%06d', $this->getID()); |
|
65 | 65 | } |
66 | 66 | } |
67 | 67 | \ No newline at end of file |
@@ -67,6 +67,6 @@ |
||
67 | 67 | */ |
68 | 68 | public function getIDString(): string |
69 | 69 | { |
70 | - return 'M' . sprintf('%06d', $this->getID()); |
|
70 | + return 'M'.sprintf('%06d', $this->getID()); |
|
71 | 71 | } |
72 | 72 | } |
73 | 73 | \ No newline at end of file |
@@ -105,6 +105,6 @@ |
||
105 | 105 | */ |
106 | 106 | public function getIDString(): string |
107 | 107 | { |
108 | - return 'C' . sprintf('%09d', $this->getID()); |
|
108 | + return 'C'.sprintf('%09d', $this->getID()); |
|
109 | 109 | } |
110 | 110 | } |
@@ -75,8 +75,8 @@ |
||
75 | 75 | ->createAdapter(ORMAdapter::class, [ |
76 | 76 | 'entity' => Part::class, |
77 | 77 | 'criteria' => [ |
78 | - function (QueryBuilder $builder) use($options) { |
|
79 | - if(isset($options['cid'])) { |
|
78 | + function(QueryBuilder $builder) use($options) { |
|
79 | + if (isset($options['cid'])) { |
|
80 | 80 | $builder->andWhere('part.category = :cid') |
81 | 81 | ->setParameter('cid', $options['cid']); |
82 | 82 | } |
@@ -99,7 +99,7 @@ |
||
99 | 99 | */ |
100 | 100 | public function getIDString(): string |
101 | 101 | { |
102 | - return 'L' . sprintf('%06d', $this->getID()); |
|
102 | + return 'L'.sprintf('%06d', $this->getID()); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | } |
106 | 106 | \ No newline at end of file |