Completed
Push — master ( 793b46...adfa72 )
by Damian
12s
created
code/extensions/SiteTreeSubsites.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -261,8 +261,8 @@  discard block
 block discarded – undo
261 261
      * - Is in a group which has access to the subsite this page belongs to
262 262
      * - Is in a group with edit permissions on the "main site"
263 263
      *
264
-     * @param null $member
265
-     * @return bool
264
+     * @param null|\SilverStripe\Security\Member $member
265
+     * @return false|null
266 266
      */
267 267
     public function canEdit($member = null)
268 268
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
     /**
294 294
      * @param null $member
295
-     * @return bool
295
+     * @return false|null
296 296
      */
297 297
     public function canDelete($member = null)
298 298
     {
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
     /**
307 307
      * @param null $member
308
-     * @return bool
308
+     * @return false|null
309 309
      */
310 310
     public function canAddChildren($member = null)
311 311
     {
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 
319 319
     /**
320 320
      * @param null $member
321
-     * @return bool
321
+     * @return false|null
322 322
      */
323 323
     public function canPublish($member = null)
324 324
     {
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
 
461 461
     /**
462 462
      * @param Member
463
-     * @return boolean|null
463
+     * @return false|null
464 464
      */
465 465
     public function canCreate($member = null)
466 466
     {
Please login to merge, or discard this patch.