Completed
Push — master ( 09eb3c...091311 )
by Jan
03:00
created
src/Controller/AttachmentTypeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             $parent = $entity->getParent();
112 112
 
113 113
             //Move all sub entities to the current parent
114
-            foreach($entity->getSubelements() as $subelement) {
114
+            foreach ($entity->getSubelements() as $subelement) {
115 115
                 $subelement->setParent($parent);
116 116
                 $entityManager->persist($subelement);
117 117
             }
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
         //If view option is not specified, then download the file.
200 200
         if (!$request->get('view')) {
201
-            $filename = "export_" . $entity->getName() . "_" . $level . "." . $format;
201
+            $filename = "export_".$entity->getName()."_".$level.".".$format;
202 202
 
203 203
             // Create the disposition of the file
204 204
             $disposition = $response->headers->makeDisposition(
Please login to merge, or discard this patch.
src/Entity/AttachmentType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,6 @@
 block discarded – undo
77 77
      */
78 78
     public function getIDString(): string
79 79
     {
80
-        return 'AT' . sprintf('%09d', $this->getID());
80
+        return 'AT'.sprintf('%09d', $this->getID());
81 81
     }
82 82
 }
Please login to merge, or discard this patch.