Passed
Push — master ( 5f27ab...9a7223 )
by Jan
04:31
created
src/Form/Part/OrderdetailType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
         ]);
80 80
 
81 81
         //Add pricedetails after we know the data, so we can set the default currency
82
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) {
82
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) {
83 83
             /** @var Orderdetail $orderdetail */
84 84
             $orderdetail = $event->getData();
85 85
 
Please login to merge, or discard this patch.
src/DataTables/Column/PartAttachmentsColumn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             throw new \RuntimeException('$context must be a Part object!');
61 61
         }
62 62
         $tmp = '';
63
-        $attachments = $context->getAttachments()->filter(function (Attachment $attachment) {
63
+        $attachments = $context->getAttachments()->filter(function(Attachment $attachment) {
64 64
             return $attachment->getShowInTable() && $this->attachmentManager->isFileExisting($attachment);
65 65
         });
66 66
 
Please login to merge, or discard this patch.
src/Services/Trees/TreeViewGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
         $secure_class_name = str_replace('\\', '_', $class);
137 137
         $key = 'treeview_'.$this->keyGenerator->generateKey().'_'.$secure_class_name;
138 138
 
139
-        $ret = $this->cache->get($key, function (ItemInterface $item) use ($repo, $parent, $secure_class_name) {
139
+        $ret = $this->cache->get($key, function(ItemInterface $item) use ($repo, $parent, $secure_class_name) {
140 140
             // Invalidate when groups, a element with the class or the user changes
141 141
             $item->tag(['groups', 'tree_treeview', $this->keyGenerator->generateKey(), $secure_class_name]);
142 142
 
Please login to merge, or discard this patch.
src/Services/Trees/NodesListBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
         $secure_class_name = str_replace('\\', '_', $class_name);
167 167
         $key = 'list_'.$this->keyGenerator->generateKey().'_'.$secure_class_name.$parent_id;
168 168
 
169
-        $ret = $this->cache->get($key, function (ItemInterface $item) use ($class_name, $parent, $secure_class_name) {
169
+        $ret = $this->cache->get($key, function(ItemInterface $item) use ($class_name, $parent, $secure_class_name) {
170 170
             // Invalidate when groups, a element with the class or the user changes
171 171
             $item->tag(['groups', 'tree_list', $this->keyGenerator->generateKey(), $secure_class_name]);
172 172
             /**
Please login to merge, or discard this patch.
src/Form/TFAGoogleSettingsType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     public function buildForm(FormBuilderInterface $builder, array $options)
45 45
     {
46
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
46
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
47 47
             $form = $event->getForm();
48 48
             /** @var User $user */
49 49
             $user = $event->getData();
Please login to merge, or discard this patch.