@@ -30,7 +30,7 @@ |
||
| 30 | 30 | public function getFilters() |
| 31 | 31 | { |
| 32 | 32 | return [ |
| 33 | - new TwigFilter('barcodeSVG', function (string $content, string $type = "QRCODE") { |
|
| 33 | + new TwigFilter('barcodeSVG', function(string $content, string $type = "QRCODE") { |
|
| 34 | 34 | $barcodeFactory = new Barcode(); |
| 35 | 35 | $barcode = $barcodeFactory->getBarcodeObj($type, $content); |
| 36 | 36 | return $barcode->getSvgCode(); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ->setParameter(1, $element); |
| 38 | 38 | |
| 39 | 39 | foreach ($order_by as $field => $order) { |
| 40 | - $qb->addOrderBy('part.' . $field, $order); |
|
| 40 | + $qb->addOrderBy('part.'.$field, $order); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | return $qb->getQuery()->getResult(); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ->setParameter(1, $element); |
| 38 | 38 | |
| 39 | 39 | foreach ($order_by as $field => $order) { |
| 40 | - $qb->addOrderBy('part.' . $field, $order); |
|
| 40 | + $qb->addOrderBy('part.'.$field, $order); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | return $qb->getQuery()->getResult(); |