@@ -1094,6 +1094,9 @@ discard block |
||
1094 | 1094 | return $this->canEdit($member); |
1095 | 1095 | } |
1096 | 1096 | |
1097 | + /** |
|
1098 | + * @param DataObject $member |
|
1099 | + */ |
|
1097 | 1100 | public function canDeleteFromLive($member = null) { |
1098 | 1101 | // Standard mechanism for accepting permission changes from extensions |
1099 | 1102 | $extended = $this->extendedCan('canDeleteFromLive', $member); |
@@ -1295,7 +1298,7 @@ discard block |
||
1295 | 1298 | /** |
1296 | 1299 | * Get the 'can edit' information for a number of SiteTree pages. |
1297 | 1300 | * |
1298 | - * @param array $ids An array of IDs of the SiteTree pages to look up |
|
1301 | + * @param integer[] $ids An array of IDs of the SiteTree pages to look up |
|
1299 | 1302 | * @param int $memberID ID of member |
1300 | 1303 | * @param bool $useCached Return values from the permission cache if they exist |
1301 | 1304 | * @return array |
@@ -1368,7 +1371,7 @@ discard block |
||
1368 | 1371 | * |
1369 | 1372 | * @param string $condition The PHP condition to be evaluated. The page will be called $item |
1370 | 1373 | * @param array $collator An array, passed by reference, to collect all of the matching descendants. |
1371 | - * @return bool |
|
1374 | + * @return boolean|null |
|
1372 | 1375 | */ |
1373 | 1376 | public function collateDescendants($condition, &$collator) { |
1374 | 1377 | if($children = $this->Children()) { |