Completed
Pull Request — master (#8)
by Jason
03:52
created
src/Pages/StaffDirectoryController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function getPageSize()
20 20
     {
21 21
         if ($object = $this->config()->page_size) {
22
-            return (int)$object;
22
+            return (int) $object;
23 23
         }
24 24
 
25 25
         return 10;
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         if ($request === null) {
36 36
             $request = $this->request;
37 37
         }
38
-        $start = ($request->getVar('start')) ? (int)$request->getVar('start') : 0;
38
+        $start = ($request->getVar('start')) ? (int) $request->getVar('start') : 0;
39 39
 
40 40
         $records = PaginatedList::create($this->getStaffMembers(), $this->request);
41 41
         $records->setPageStart($start);
Please login to merge, or discard this patch.
src/Pages/StaffMember.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      */
104 104
     public function getCMSFields()
105 105
     {
106
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
106
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
107 107
             $imageField = UploadField::create('Image', 'Image')
108 108
                 ->setFolderName('Uploads/StaffMembers')
109 109
                 ->setAllowedFileCategories('image')
Please login to merge, or discard this patch.