Passed
Pull Request — master (#123)
by Sebastian
03:43
created
Classes/Controller/PageGridController.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,15 +22,13 @@  discard block
 block discarded – undo
22 22
  * @subpackage dlf
23 23
  * @access public
24 24
  */
25
-class PageGridController extends AbstractController
26
-{
25
+class PageGridController extends AbstractController {
27 26
     /**
28 27
      * The main method of the plugin
29 28
      *
30 29
      * @return void
31 30
      */
32
-    public function mainAction()
33
-    {
31
+    public function mainAction() {
34 32
         $this->loadDocument($this->requestData);
35 33
         if (
36 34
             $this->isDocMissingOrEmpty()
@@ -64,8 +62,7 @@  discard block
 block discarded – undo
64 62
      *
65 63
      * @return array The rendered entry ready for fluid
66 64
      */
67
-    protected function getEntry($number, $fileGrpThumbs)
68
-    {
65
+    protected function getEntry($number, $fileGrpThumbs) {
69 66
         // Set pagination.
70 67
         $entry['pagination'] = htmlspecialchars($this->document->getDoc()->physicalStructureInfo[$this->document->getDoc()->physicalStructure[$number]]['orderlabel']);
71 68
         $entry['page'] = $number;
Please login to merge, or discard this patch.