@@ -84,6 +84,9 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | private static $default_download_behaviour = 'download'; |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param DataObject $member |
|
| 89 | + */ |
|
| 87 | 90 | public function canView($member = null) |
| 88 | 91 | { |
| 89 | 92 | if (!$member || !(is_a($member, 'Member')) || is_numeric($member)) { |
@@ -853,7 +856,7 @@ discard block |
||
| 853 | 856 | * DMS, replacing the original document file but keeping the rest of the |
| 854 | 857 | * document unchanged. |
| 855 | 858 | * |
| 856 | - * @param File|string $file path to a file to store |
|
| 859 | + * @param File $file path to a file to store |
|
| 857 | 860 | * |
| 858 | 861 | * @return DMSDocument object that we replaced the file in |
| 859 | 862 | */ |
@@ -1222,7 +1225,7 @@ discard block |
||
| 1222 | 1225 | /** |
| 1223 | 1226 | * Return the size of the file associated with the document. |
| 1224 | 1227 | * |
| 1225 | - * @return string |
|
| 1228 | + * @return integer|null |
|
| 1226 | 1229 | */ |
| 1227 | 1230 | public function getAbsoluteSize() |
| 1228 | 1231 | { |
@@ -1241,7 +1244,8 @@ discard block |
||
| 1241 | 1244 | |
| 1242 | 1245 | |
| 1243 | 1246 | /** |
| 1244 | - * @return FieldList |
|
| 1247 | + * @param integer $relationListCount |
|
| 1248 | + * @return FieldGroup |
|
| 1245 | 1249 | */ |
| 1246 | 1250 | protected function getFieldsForFile($relationListCount) |
| 1247 | 1251 | { |