Completed
Push — master ( 954f36...38025f )
by Hamish
17s
created
core/Injectable.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,6 @@
 block discarded – undo
23 23
 	 *    $list = DataList::create('SiteTree');
24 24
 	 *	  $list = SiteTree::get();
25 25
 	 *
26
-	 * @param string $class the class name
27
-	 * @param mixed $arguments,... arguments to pass to the constructor
28 26
 	 * @return static
29 27
 	 */
30 28
 	public static function create() {
Please login to merge, or discard this patch.
model/versioning/ChangeSetItem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	 * Find version of this object in the given stage
128 128
 	 *
129 129
 	 * @param string $stage
130
-	 * @return Versioned|DataObject
130
+	 * @return DataObject|null
131 131
 	 */
132 132
 	protected function getObjectInStage($stage) {
133 133
 		return Versioned::get_by_stage($this->ObjectClass, $stage)->byID($this->ObjectID);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	/**
137 137
 	 * Find latest version of this object
138 138
 	 *
139
-	 * @return Versioned|DataObject
139
+	 * @return DataObject|null
140 140
 	 */
141 141
 	protected function getObjectLatestVersion() {
142 142
 		return Versioned::get_latest_version($this->ObjectClass, $this->ObjectID);
Please login to merge, or discard this patch.