@@ -98,6 +98,9 @@ discard block |
||
98 | 98 | 'permissions' => 'Permissions' |
99 | 99 | ); |
100 | 100 | |
101 | + /** |
|
102 | + * @param DataObject $member |
|
103 | + */ |
|
101 | 104 | public function canView($member = null) |
102 | 105 | { |
103 | 106 | if (!$member || !(is_a($member, 'Member')) || is_numeric($member)) { |
@@ -656,7 +659,7 @@ discard block |
||
656 | 659 | * DMS, replacing the original document file but keeping the rest of the |
657 | 660 | * document unchanged. |
658 | 661 | * |
659 | - * @param File|string $file path to a file to store |
|
662 | + * @param File $file path to a file to store |
|
660 | 663 | * |
661 | 664 | * @return DMSDocument object that we replaced the file in |
662 | 665 | */ |
@@ -1043,7 +1046,7 @@ discard block |
||
1043 | 1046 | /** |
1044 | 1047 | * Return the size of the file associated with the document. |
1045 | 1048 | * |
1046 | - * @return string |
|
1049 | + * @return integer|null |
|
1047 | 1050 | */ |
1048 | 1051 | public function getAbsoluteSize() |
1049 | 1052 | { |
@@ -1062,6 +1065,7 @@ discard block |
||
1062 | 1065 | |
1063 | 1066 | |
1064 | 1067 | /** |
1068 | + * @param integer $relationListCount |
|
1065 | 1069 | * @return FieldList |
1066 | 1070 | */ |
1067 | 1071 | protected function getFieldsForFile($relationListCount) |