Passed
Pull Request — master (#92)
by
unknown
03:41
created
Classes/Domain/Model/AbstractFormElement.php 1 patch
Braces   +15 added lines, -30 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-class AbstractFormElement extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
18
-{
17
+class AbstractFormElement extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
19 18
 
20 19
     /**
21 20
      *
@@ -59,74 +58,60 @@  discard block
 block discarded – undo
59 58
      */
60 59
     protected $maxIteration;
61 60
 
62
-    public function getUid()
63
-    {
61
+    public function getUid() {
64 62
         return $this->uid;
65 63
     }
66 64
 
67
-    public function setUid($uid)
68
-    {
65
+    public function setUid($uid) {
69 66
         $this->uid = $uid;
70 67
     }
71 68
 
72
-    public function getDisplayName()
73
-    {
69
+    public function getDisplayName() {
74 70
         return $this->displayName;
75 71
     }
76 72
 
77
-    public function setDisplayName($displayName)
78
-    {
73
+    public function setDisplayName($displayName) {
79 74
         $this->displayName = $displayName;
80 75
     }
81 76
 
82
-    public function getName()
83
-    {
77
+    public function getName() {
84 78
         return $this->name;
85 79
     }
86 80
 
87
-    public function setName($name)
88
-    {
81
+    public function setName($name) {
89 82
         $this->name = $name;
90 83
     }
91 84
 
92
-    public function getItems()
93
-    {
85
+    public function getItems() {
94 86
         return $this->items;
95 87
     }
96 88
 
97
-    public function addItem($item)
98
-    {
89
+    public function addItem($item) {
99 90
         $uid                 = $item->getUid();
100 91
         $this->items[$uid][] = $item;
101 92
     }
102 93
 
103
-    public function getMandatory()
104
-    {
94
+    public function getMandatory() {
105 95
         return $this->mandatory;
106 96
     }
107 97
 
108
-    public function setMandatory($mandatory)
109
-    {
98
+    public function setMandatory($mandatory) {
110 99
         $this->mandatory = $mandatory;
111 100
     }
112 101
 
113
-    public function getBackendOnly()
114
-    {
102
+    public function getBackendOnly() {
115 103
         return $this->backendOnly;
116 104
     }
117 105
 
118
-    public function setBackendOnly($backendOnly)
119
-    {
106
+    public function setBackendOnly($backendOnly) {
120 107
         $this->backendOnly = $backendOnly;
121 108
     }
122 109
 
123
-    public function getMaxIteration()
124
-    {
110
+    public function getMaxIteration() {
125 111
         return $this->maxIteration;
126 112
     }
127 113
 
128
-    public function setMaxIteration($maxIteration)
129
-    {
114
+    public function setMaxIteration($maxIteration) {
130 115
         $this->maxIteration = $maxIteration;
131 116
     }
132 117
 
Please login to merge, or discard this patch.
Classes/Controller/DocumentFormController.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,11 +14,9 @@  discard block
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-class DocumentFormController extends AbstractDocumentFormController
18
-{
17
+class DocumentFormController extends AbstractDocumentFormController {
19 18
 
20
-    protected function redirectToList($message = null)
21
-    {
19
+    protected function redirectToList($message = null) {
22 20
         $this->redirect('list', 'DocumentForm', null, array('message' => $message));
23 21
     }
24 22
 
@@ -28,8 +26,7 @@  discard block
 block discarded – undo
28 26
      * @param \EWW\Dpf\Domain\Model\DocumentForm $newDocumentForm
29 27
      * @return void
30 28
      */
31
-    public function createAction(\EWW\Dpf\Domain\Model\DocumentForm $newDocumentForm)
32
-    {
29
+    public function createAction(\EWW\Dpf\Domain\Model\DocumentForm $newDocumentForm) {
33 30
         foreach ($newDocumentForm->getNewFiles() as $newFile) {
34 31
             $uid = $newFile->getUID();
35 32
             if (empty($uid)) {
Please login to merge, or discard this patch.