Passed
Pull Request — master (#133)
by
unknown
14:52 queued 04:47
created
Classes/Domain/Model/File.php 1 patch
Braces   +24 added lines, -48 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * File
19 19
  */
20
-class File extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+class File extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
 
23 22
     /**
24 23
      * title
@@ -110,8 +109,7 @@  discard block
 block discarded – undo
110 109
      *
111 110
      * @return string $title
112 111
      */
113
-    public function getTitle()
114
-    {
112
+    public function getTitle() {
115 113
         return $this->title;
116 114
     }
117 115
 
@@ -121,8 +119,7 @@  discard block
 block discarded – undo
121 119
      * @param string $title
122 120
      * @return void
123 121
      */
124
-    public function setTitle($title)
125
-    {
122
+    public function setTitle($title) {
126 123
         $this->title = $title;
127 124
     }
128 125
 
@@ -131,8 +128,7 @@  discard block
 block discarded – undo
131 128
      *
132 129
      * @return string $label
133 130
      */
134
-    public function getLabel()
135
-    {
131
+    public function getLabel() {
136 132
         return $this->label;
137 133
     }
138 134
 
@@ -142,8 +138,7 @@  discard block
 block discarded – undo
142 138
      * @param string $label
143 139
      * @return void
144 140
      */
145
-    public function setLabel($label)
146
-    {
141
+    public function setLabel($label) {
147 142
         $this->label = $label;
148 143
     }
149 144
 
@@ -152,8 +147,7 @@  discard block
 block discarded – undo
152 147
      *
153 148
      * @return boolean $download
154 149
      */
155
-    public function getDownload()
156
-    {
150
+    public function getDownload() {
157 151
         return $this->download;
158 152
     }
159 153
 
@@ -163,8 +157,7 @@  discard block
 block discarded – undo
163 157
      * @param string $download
164 158
      * @return void
165 159
      */
166
-    public function setDownload($download)
167
-    {
160
+    public function setDownload($download) {
168 161
         $this->download = $download;
169 162
     }
170 163
 
@@ -173,8 +166,7 @@  discard block
 block discarded – undo
173 166
      *
174 167
      * @return boolean $archive
175 168
      */
176
-    public function getArchive()
177
-    {
169
+    public function getArchive() {
178 170
         return $this->archive;
179 171
     }
180 172
 
@@ -184,8 +176,7 @@  discard block
 block discarded – undo
184 176
      * @param boolean $archive
185 177
      * @return void
186 178
      */
187
-    public function setArchive($archive)
188
-    {
179
+    public function setArchive($archive) {
189 180
         $this->archive = $archive;
190 181
     }
191 182
 
@@ -194,8 +185,7 @@  discard block
 block discarded – undo
194 185
      *
195 186
      * @return boolean $fileGroupDeleted
196 187
      */
197
-    public function isFileGroupDeleted()
198
-    {
188
+    public function isFileGroupDeleted() {
199 189
         return $this->fileGroupDeleted;
200 190
     }
201 191
 
@@ -204,8 +194,7 @@  discard block
 block discarded – undo
204 194
      *
205 195
      * @return boolean $fileGroupDeleted
206 196
      */
207
-    public function setFileGroupDeleted($fileGroupDeleted)
208
-    {
197
+    public function setFileGroupDeleted($fileGroupDeleted) {
209 198
         $this->fileGroupDeleted = $fileGroupDeleted;
210 199
     }
211 200
 
@@ -214,8 +203,7 @@  discard block
 block discarded – undo
214 203
      *
215 204
      * @return string $contentType
216 205
      */
217
-    public function getContentType()
218
-    {
206
+    public function getContentType() {
219 207
         return $this->contentType;
220 208
     }
221 209
 
@@ -225,8 +213,7 @@  discard block
 block discarded – undo
225 213
      * @param string $contentType
226 214
      * @return void
227 215
      */
228
-    public function setContentType($contentType)
229
-    {
216
+    public function setContentType($contentType) {
230 217
         $this->contentType = $contentType;
231 218
     }
232 219
 
@@ -235,8 +222,7 @@  discard block
 block discarded – undo
235 222
      *
236 223
      * @return string $link
237 224
      */
238
-    public function getLink()
239
-    {
225
+    public function getLink() {
240 226
         return $this->link;
241 227
     }
242 228
 
@@ -246,8 +232,7 @@  discard block
 block discarded – undo
246 232
      * @param string $link
247 233
      * @return void
248 234
      */
249
-    public function setLink($link)
250
-    {
235
+    public function setLink($link) {
251 236
         $this->link = $link;
252 237
     }
253 238
 
@@ -256,8 +241,7 @@  discard block
 block discarded – undo
256 241
      *
257 242
      * @return string $status
258 243
      */
259
-    public function getStatus()
260
-    {
244
+    public function getStatus() {
261 245
         return $this->status;
262 246
     }
263 247
 
@@ -267,8 +251,7 @@  discard block
 block discarded – undo
267 251
      * @param string $status
268 252
      * @return void
269 253
      */
270
-    public function setStatus($status)
271
-    {
254
+    public function setStatus($status) {
272 255
         $this->status = $status;
273 256
     }
274 257
 
@@ -277,8 +260,7 @@  discard block
 block discarded – undo
277 260
      *
278 261
      * @return \EWW\Dpf\Domain\Model\Document $document
279 262
      */
280
-    public function getDocument()
281
-    {
263
+    public function getDocument() {
282 264
         return $this->document;
283 265
     }
284 266
 
@@ -288,8 +270,7 @@  discard block
 block discarded – undo
288 270
      * @param \EWW\Dpf\Domain\Model\Document $document
289 271
      * @return void
290 272
      */
291
-    public function setDocument(\EWW\Dpf\Domain\Model\Document $document)
292
-    {
273
+    public function setDocument(\EWW\Dpf\Domain\Model\Document $document) {
293 274
         $this->document = $document;
294 275
     }
295 276
 
@@ -298,8 +279,7 @@  discard block
 block discarded – undo
298 279
      *
299 280
      * @return boolean $primaryFile
300 281
      */
301
-    public function getPrimaryFile()
302
-    {
282
+    public function getPrimaryFile() {
303 283
         return $this->primaryFile;
304 284
     }
305 285
 
@@ -309,8 +289,7 @@  discard block
 block discarded – undo
309 289
      * @param boolean $primaryFile
310 290
      * @return void
311 291
      */
312
-    public function setPrimaryFile($primaryFile)
313
-    {
292
+    public function setPrimaryFile($primaryFile) {
314 293
         $this->primaryFile = $primaryFile;
315 294
     }
316 295
 
@@ -319,8 +298,7 @@  discard block
 block discarded – undo
319 298
      *
320 299
      * @return boolean
321 300
      */
322
-    public function isPrimaryFile()
323
-    {
301
+    public function isPrimaryFile() {
324 302
         return $this->primaryFile;
325 303
     }
326 304
 
@@ -329,8 +307,7 @@  discard block
 block discarded – undo
329 307
      *
330 308
      * @return string $datastreamIdentifier
331 309
      */
332
-    public function getDatastreamIdentifier()
333
-    {
310
+    public function getDatastreamIdentifier() {
334 311
         return $this->datastreamIdentifier;
335 312
     }
336 313
 
@@ -340,8 +317,7 @@  discard block
 block discarded – undo
340 317
      * @param string $datastreamIdentifier
341 318
      * @return void
342 319
      */
343
-    public function setDatastreamIdentifier($datastreamIdentifier)
344
-    {
320
+    public function setDatastreamIdentifier($datastreamIdentifier) {
345 321
         $this->datastreamIdentifier = $datastreamIdentifier;
346 322
     }
347 323
 
Please login to merge, or discard this patch.