@@ -798,7 +798,7 @@ discard block |
||
| 798 | 798 | /** |
| 799 | 799 | * Get the latest published DataObject. |
| 800 | 800 | * |
| 801 | - * @return DataObject |
|
| 801 | + * @return string |
|
| 802 | 802 | */ |
| 803 | 803 | public function latestPublished() { |
| 804 | 804 | // Get the root data object class - this will have the version field |
@@ -817,7 +817,7 @@ discard block |
||
| 817 | 817 | /** |
| 818 | 818 | * Move a database record from one stage to the other. |
| 819 | 819 | * |
| 820 | - * @param int|string $fromStage Place to copy from. Can be either a stage name or a version number. |
|
| 820 | + * @param integer $fromStage Place to copy from. Can be either a stage name or a version number. |
|
| 821 | 821 | * @param string $toStage Place to copy to. Must be a stage name. |
| 822 | 822 | * @param bool $createNewVersion Set this to true to create a new version number. |
| 823 | 823 | * By default, the existing version number will be copied over. |
@@ -1000,6 +1000,7 @@ discard block |
||
| 1000 | 1000 | /** |
| 1001 | 1001 | * Return the base table - the class that directly extends DataObject. |
| 1002 | 1002 | * |
| 1003 | + * @param string $stage |
|
| 1003 | 1004 | * @return string |
| 1004 | 1005 | */ |
| 1005 | 1006 | public function baseTable($stage = null) { |
@@ -1154,7 +1155,6 @@ discard block |
||
| 1154 | 1155 | * @param string $stage The name of the stage. |
| 1155 | 1156 | * @param string $filter A filter to be inserted into the WHERE clause. |
| 1156 | 1157 | * @param boolean $cache Use caching. |
| 1157 | - * @param string $orderby A sort expression to be inserted into the ORDER BY clause. |
|
| 1158 | 1158 | * |
| 1159 | 1159 | * @return DataObject |
| 1160 | 1160 | */ |