Passed
Push — master ( b06a44...df40f7 )
by Jan
03:28
created
src/Entity/StructuralDBElement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
                 $tree = array(
351 351
                     array('text' => $use_db_root_name ? htmlspecialchars($this->getName()) : $root_name,
352 352
                         'href' => $page.'?'.$parameter.'='.$this->getID(),
353
-                        'nodes' => $nodes, ),
353
+                        'nodes' => $nodes,),
354 354
                 );
355 355
             } else { //Dont show root node
356 356
                 $tree = $nodes;
@@ -389,12 +389,12 @@  discard block
 block discarded – undo
389 389
 
390 390
         if ($show_root) {
391 391
             $breadcrumb[] = array('label' => $root_name,
392
-                'disabled' => true, );
392
+                'disabled' => true,);
393 393
         }
394 394
 
395 395
         if (!$this->current_user->canDo(static::getPermissionName(), StructuralPermission::READ)) {
396 396
             return array('label' => '???',
397
-                'disabled' => true, );
397
+                'disabled' => true,);
398 398
         }
399 399
 
400 400
         $tmp = array();
Please login to merge, or discard this patch.
src/DataTables/PartsDataTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $dataTable//->add("id", TextColumn::class)
60 60
             ->add('name', TextColumn::class, ['label' => 'name.label',
61
-            'render' => function ($value, Part $context) {
61
+            'render' => function($value, Part $context) {
62 62
                 return $this->urlGenerator->infoHTML($context);
63
-            }, ])
63
+            },])
64 64
             ->add('description', TextColumn::class, ['label' => 'description.label'])
65 65
             ->add('category', TextColumn::class, ['field' => 'category.name', 'label' => 'category.label'])
66 66
             ->add('instock', TextColumn::class, ['label' => 'instock.label_short'])
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             ->createAdapter(ORMAdapter::class, [
71 71
                 'entity' => Part::class,
72 72
                 'criteria' => [
73
-                function (QueryBuilder $builder) use ($options) {
73
+                function(QueryBuilder $builder) use ($options) {
74 74
                     if (isset($options['cid'])) {
75 75
                         $builder->andWhere('part.category = :cid')
76 76
                             ->setParameter('cid', $options['cid']);
Please login to merge, or discard this patch.