Completed
Pull Request — master (#6172)
by Ingo
16:19
created
Control/Controller.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,6 +142,7 @@  discard block
 block discarded – undo
142 142
 	 * {@inheritdoc}
143 143
 	 *
144 144
 	 * Also set the URLParams
145
+	 * @param HTTPRequest $request
145 146
 	 */
146 147
 	public function setRequest($request) {
147 148
 		$return = parent::setRequest($request);
@@ -501,7 +502,7 @@  discard block
 block discarded – undo
501 502
 	 *
502 503
 	 * @param array $params
503 504
 	 *
504
-	 * @return string
505
+	 * @return DBHTMLText
505 506
 	 */
506 507
 	public function render($params = null) {
507 508
 		$template = $this->getViewer($this->getAction());
@@ -664,7 +665,7 @@  discard block
 block discarded – undo
664 665
 	 * Tests whether a redirection has been requested. If redirect() has been called, it will return
665 666
 	 * the URL redirected to. Otherwise, it will return null.
666 667
 	 *
667
-	 * @return null|string
668
+	 * @return boolean
668 669
 	 */
669 670
 	public function redirectedTo() {
670 671
 		return $this->getResponse() && $this->getResponse()->getHeader('Location');
@@ -695,7 +696,6 @@  discard block
 block discarded – undo
695 696
 	 *
696 697
 	 * Caution: All parameters are expected to be URI-encoded already.
697 698
 	 *
698
-	 * @param string|array $arg,.. One or more link segments, or list of link segments as an array
699 699
 	 * @return string
700 700
 	 */
701 701
 	public static function join_links($arg = null) {
Please login to merge, or discard this patch.
ORM/Versioning/ChangeSetItem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	 * Find version of this object in the given stage
148 148
 	 *
149 149
 	 * @param string $stage
150
-	 * @return DataObject|Versioned
150
+	 * @return DataObject|null
151 151
 	 * @throws UnexpectedDataException
152 152
 	 */
153 153
 	protected function getObjectInStage($stage) {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
 	/**
162 162
 	 * Find latest version of this object
163
-	 * @return DataObject|Versioned
163
+	 * @return DataObject|null
164 164
 	 * @throws UnexpectedDataException
165 165
 	 */
166 166
 	protected function getObjectLatestVersion() {
Please login to merge, or discard this patch.
Core/ClassInfo.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -276,6 +276,9 @@
 block discarded – undo
276 276
 
277 277
 	private static $method_from_cache = array();
278 278
 
279
+	/**
280
+	 * @param string $method
281
+	 */
279 282
 	public static function has_method_from($class, $method, $compclass) {
280 283
 		$lClass = strtolower($class);
281 284
 		$lMethod = strtolower($method);
Please login to merge, or discard this patch.
Dev/BulkLoader_Result.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
 	}
133 133
 
134 134
 	/**
135
-	 * @param $obj DataObject
136
-	 * @param $message string
135
+	 * @param DataObject $obj DataObject
136
+	 * @param string $message string
137 137
 	 */
138 138
 	public function addCreated($obj, $message = null)
139 139
 	{
@@ -146,8 +146,8 @@  discard block
 block discarded – undo
146 146
 	}
147 147
 
148 148
 	/**
149
-	 * @param $obj DataObject
150
-	 * @param $message string
149
+	 * @param DataObject $obj DataObject
150
+	 * @param string $message string
151 151
 	 */
152 152
 	public function addUpdated($obj, $message = null)
153 153
 	{
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
 	}
161 161
 
162 162
 	/**
163
-	 * @param $obj DataObject
164
-	 * @param $message string
163
+	 * @param DataObject|null $obj DataObject
164
+	 * @param string $message string
165 165
 	 */
166 166
 	public function addDeleted($obj, $message = null)
167 167
 	{
Please login to merge, or discard this patch.