Completed
Push — 3.6 ( ab5f09...e96845 )
by Robbie
24s queued 12s
created
forms/TreeDropdownField.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	 *
84 84
 	 * @param string $name the field name
85 85
 	 * @param string $title the field label
86
-	 * @param string|array $sourceObject The object-type to list in the tree. This could
86
+	 * @param string $sourceObject The object-type to list in the tree. This could
87 87
 	 * be one of the following:
88 88
 	 * - A DataObject class name with the {@link Hierarchy} extension.
89 89
 	 * - An array of key/value pairs, like a {@link DropdownField} source. In
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 	}
212 212
 
213 213
 	/**
214
-	 * @return HTMLText
214
+	 * @return string
215 215
 	 */
216 216
 	public function Field($properties = array()) {
217 217
 		Requirements::add_i18n_javascript(FRAMEWORK_DIR . '/javascript/lang');
@@ -446,7 +446,6 @@  discard block
 block discarded – undo
446 446
 	}
447 447
 
448 448
 	/**
449
-	 * @param string $field
450 449
 	 * @return $this
451 450
 	 */
452 451
 	public function setSourceObject($class) {
Please login to merge, or discard this patch.
forms/UploadField.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -305,6 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
 	/**
307 307
 	 * @param String
308
+	 * @param string $name
308 309
 	 */
309 310
 	public function setDisplayFolderName($name) {
310 311
 		$this->displayFolderName = $name;
@@ -1046,7 +1047,7 @@  discard block
 block discarded – undo
1046 1047
 
1047 1048
 	/**
1048 1049
 	 * @param SS_HTTPRequest $request
1049
-	 * @return UploadField_ItemHandler
1050
+	 * @return UploadField_SelectHandler
1050 1051
 	 */
1051 1052
 	public function handleSelect(SS_HTTPRequest $request) {
1052 1053
 		if(!$this->canAttachExisting()) return $this->httpError(403);
@@ -1404,7 +1405,7 @@  discard block
 block discarded – undo
1404 1405
 	 * Action to handle editing of a single file
1405 1406
 	 *
1406 1407
 	 * @param SS_HTTPRequest $request
1407
-	 * @return ViewableData_Customised
1408
+	 * @return HTMLText
1408 1409
 	 */
1409 1410
 	public function edit(SS_HTTPRequest $request) {
1410 1411
 		// Check form field state
Please login to merge, or discard this patch.
parsers/ShortcodeParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@  discard block
 block discarded – undo
162 162
 
163 163
 	// --------------------------------------------------------------------------------------------------------------
164 164
 
165
+	/**
166
+	 * @param DOMElement $node
167
+	 */
165 168
 	protected function removeNode($node) {
166 169
 		$node->parentNode->removeChild($node);
167 170
 	}
@@ -177,6 +180,9 @@  discard block
 block discarded – undo
177 180
 		}
178 181
 	}
179 182
 
183
+	/**
184
+	 * @param DOMElement $after
185
+	 */
180 186
 	protected function insertListAfter($new, $after) {
181 187
 		$doc = $after->ownerDocument; $parent = $after->parentNode; $next = $after->nextSibling;
182 188
 
Please login to merge, or discard this patch.
security/PasswordEncryptor.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -85,6 +85,10 @@  discard block
 block discarded – undo
85 85
 	 * but is necessary for retain compatibility with password hashed
86 86
 	 * with flawed algorithms - see {@link PasswordEncryptor_LegacyPHPHash} and
87 87
 	 * {@link PasswordEncryptor_Blowfish}
88
+	 * @param string $hash
89
+	 * @param string $password
90
+	 * @param string $salt
91
+	 * @param Member $member
88 92
 	 */
89 93
 	public function check($hash, $password, $salt = null, $member = null) {
90 94
 		return $hash === $this->encrypt($password, $salt, $member);
@@ -241,6 +245,7 @@  discard block
 block discarded – undo
241 245
 
242 246
 	/**
243 247
 	 * self::$cost param is forced to be two digits with leading zeroes for ints 4-9
248
+	 * @param string $password
244 249
 	 */
245 250
 	public function salt($password, $member = null) {
246 251
 		$generator = new RandomGenerator();
Please login to merge, or discard this patch.
core/startup/AbstractConfirmationToken.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	 * Given a list of token names, suppress all tokens that have not been validated, and
27 27
 	 * return the non-validated token with the highest priority
28 28
 	 *
29
-	 * @param array $keys List of token keys in ascending priority (low to high)
29
+	 * @param string[] $keys List of token keys in ascending priority (low to high)
30 30
 	 * @return static The token container for the unvalidated $key given with the highest priority
31 31
 	 */
32 32
 	public static function prepare_tokens($keys) {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	/**
46 46
 	 * Generate a local filesystem path to store a token
47 47
 	 *
48
-	 * @param $token
48
+	 * @param string $token
49 49
 	 * @return string
50 50
 	 */
51 51
 	protected function pathForToken($token) {
Please login to merge, or discard this patch.
model/fieldtypes/Boolean.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 class Boolean extends DBField {
9 9
 
10
+	/**
11
+	 * @param string $name
12
+	 */
10 13
 	public function __construct($name = null, $defaultVal = 0) {
11 14
 		$this->defaultVal = ($defaultVal) ? 1 : 0;
12 15
 
Please login to merge, or discard this patch.