Passed
Pull Request — master (#78)
by
unknown
04:12
created
src/Form/AttachmentFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             ],
170 170
         ]);
171 171
 
172
-        $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event): void {
172
+        $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event): void {
173 173
             $form = $event->getForm();
174 174
             $attachment = $form->getData();
175 175
 
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         //Check the secure file checkbox, if file is in securefile location
188 188
         $builder->get('secureFile')->addEventListener(
189 189
             FormEvents::PRE_SET_DATA,
190
-            static function (FormEvent $event): void {
190
+            static function(FormEvent $event): void {
191 191
                 $attachment = $event->getForm()->getParent()->getData();
192 192
                 if ($attachment instanceof Attachment) {
193 193
                     $event->setData($attachment->isSecure());
Please login to merge, or discard this patch.
src/Form/UserAdminForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
             ->add('theme', ChoiceType::class, [
174 174
                 'required' => false,
175 175
                 'choices' => User::AVAILABLE_THEMES,
176
-                'choice_label' => static function ($entity, $key, $value) {
176
+                'choice_label' => static function($entity, $key, $value) {
177 177
                     return $value;
178 178
                 },
179 179
                 'attr' => [
Please login to merge, or discard this patch.
src/Repository/PartRepository.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -87,13 +87,13 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
    /**
90
-     * Gets the number of parts that are low in stock.
91
-     *
92
-     * That is, it's total amount is smaller than the minimal amount.
93
-     *
94
-     * @throws \Doctrine\ORM\NoResultException
95
-     * @throws \Doctrine\ORM\NonUniqueResultException
96
-     */
90
+    * Gets the number of parts that are low in stock.
91
+    *
92
+    * That is, it's total amount is smaller than the minimal amount.
93
+    *
94
+    * @throws \Doctrine\ORM\NoResultException
95
+    * @throws \Doctrine\ORM\NonUniqueResultException
96
+    */
97 97
     public function getPartCountWithLowStock(): int
98 98
     {
99 99
         /* Query to get total amount for every part.
Please login to merge, or discard this patch.