Completed
Push — master ( db942d...dc6dc4 )
by Daniel
13:09
created
code/SiteConfig.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      * Can a user view this SiteConfig instance?
278 278
      *
279 279
      * @param Member $member
280
-     * @return boolean
280
+     * @return boolean|string
281 281
      */
282 282
     public function canView($member = null)
283 283
     {
@@ -372,6 +372,9 @@  discard block
 block discarded – undo
372 372
         return false;
373 373
     }
374 374
 
375
+    /**
376
+     * @param Member $member
377
+     */
375 378
     public function canEdit($member = null)
376 379
     {
377 380
         if (!$member) {
Please login to merge, or discard this patch.
code/SiteConfigLeftAndMain.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      *
140 140
      * @param array $data
141 141
      * @param Form $form
142
-     * @return String
142
+     * @return \SilverStripe\ORM\FieldType\DBHTMLText
143 143
      */
144 144
     public function save_siteconfig($data, $form)
145 145
     {
Please login to merge, or discard this patch.