Completed
Push — 3.2 ( 182c9f...6eebf0 )
by Daniel
17:00
created
dev/SilverStripeListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
 
37 37
 	protected $whitelist = false;
38 38
 
39
+	/**
40
+	 * @param string $name
41
+	 */
39 42
 	public function __construct($name = null, $options = array()) {
40 43
 		if(is_string($options)) {
41 44
 			$options = array('whitelist' => $options);
Please login to merge, or discard this patch.
forms/DropdownField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	/**
11 11
 	 * @param array $properties
12 12
 	 *
13
-	 * @return HTMLText
13
+	 * @return string
14 14
 	 */
15 15
 	public function FieldHolder($properties = array()) {
16 16
 		return $this->Field($properties);
Please login to merge, or discard this patch.
thirdparty/jstree/_demo/_inc/class._database.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
 		return $return;
98 98
 	}
99 99
 
100
+	/**
101
+	 * @param boolean $index
102
+	 */
100 103
 	function f($index) {
101 104
 		return stripslashes($this->row[$index]);
102 105
 	}
Please login to merge, or discard this patch.
thirdparty/Zend/Translate/Adapter/Qt.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param  string  $locale    Locale/Language to add data for, identical with locale identifier,
49 49
      *                            see Zend_Locale for more information
50 50
      * @param  string  $filename  XMLTM file to add, full path must be given for access
51
-     * @param  array   $option    OPTIONAL Options to use
51
+     * @param  array   $options    OPTIONAL Options to use
52 52
      * @throws Zend_Translation_Exception
53 53
      * @return array
54 54
      */
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         }
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $filename
121
+     */
119 122
     private function _findEncoding($filename)
120 123
     {
121 124
         $file = file_get_contents($filename, null, null, 0, 100);
Please login to merge, or discard this patch.
thirdparty/Zend/Translate/Adapter/Tbx.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param  string  $locale    Locale/Language to add data for, identical with locale identifier,
49 49
      *                            see Zend_Locale for more information
50 50
      * @param  string  $filename  XMLTM file to add, full path must be given for access
51
-     * @param  array   $option    OPTIONAL Options to use
51
+     * @param  array   $options    OPTIONAL Options to use
52 52
      * @throws Zend_Translation_Exception
53 53
      * @return array
54 54
      */
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         }
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $filename
121
+     */
119 122
     private function _findEncoding($filename)
120 123
     {
121 124
         $file = file_get_contents($filename, null, null, 0, 100);
Please login to merge, or discard this patch.
thirdparty/Zend/Translate/Adapter/Xliff.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param  string  $locale    Locale/Language to add data for, identical with locale identifier,
49 49
      *                            see Zend_Locale for more information
50 50
      * @param  string  $filename  XMLTM file to add, full path must be given for access
51
-     * @param  array   $option    OPTIONAL Options to use
51
+     * @param  array   $options    OPTIONAL Options to use
52 52
      * @throws Zend_Translation_Exception
53 53
      * @return array
54 54
      */
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         }
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $filename
121
+     */
119 122
     private function _findEncoding($filename)
120 123
     {
121 124
         $file = file_get_contents($filename, null, null, 0, 100);
Please login to merge, or discard this patch.
admin/code/CMSForm.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@
 block discarded – undo
53 53
 	 * Set actions that are exempt from validation
54 54
 	 *
55 55
 	 * @param array
56
+	 * @param string[] $actions
56 57
 	 */
57 58
 	public function setValidationExemptActions($actions) {
58 59
 		$this->validationExemptActions = $actions;
Please login to merge, or discard this patch.
control/Director.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
 	/**
464 464
 	 * Returns the part of the URL, 'http://www.mysite.com'.
465 465
 	 *
466
-	 * @return boolean|string The domain from the PHP environment. Returns FALSE is this environment variable isn't
466
+	 * @return string|false The domain from the PHP environment. Returns FALSE is this environment variable isn't
467 467
 	 *                        set.
468 468
 	 */
469 469
 	public static function protocolAndHost() {
@@ -747,7 +747,6 @@  discard block
 block discarded – undo
747 747
 	/**
748 748
 	 * Takes a $_SERVER data array and extracts HTTP request headers.
749 749
 	 *
750
-	 * @param  array $data
751 750
 	 * @return array
752 751
 	 */
753 752
 	public static function extract_request_headers(array $server) {
@@ -780,7 +779,7 @@  discard block
 block discarded – undo
780 779
 
781 780
 	/**
782 781
 	 * Returns true if the given file exists.
783
-	 * @param $file Filename specified relative to the site root
782
+	 * @param string $file Filename specified relative to the site root
784 783
 	 */
785 784
 	public static function fileExists($file) {
786 785
 		// replace any appended query-strings, e.g. /path/to/foo.php?bar=1 to /path/to/foo.php
Please login to merge, or discard this patch.
control/HTTP.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|callable $code Either a string that can evaluate to an expression
100 100
 	 * to rewrite links (depreciated), or a callable that takes a single
101 101
 	 * parameter and returns the rewritten URL
102
-	 * @return The content with all links rewritten as per the logic specified in $code
102
+	 * @return string content with all links rewritten as per the logic specified in $code
103 103
 	 */
104 104
 	public static function urlRewriter($content, $code) {
105 105
 		if(!is_callable($code)) {
@@ -243,6 +243,9 @@  discard block
 block discarded – undo
243 243
 		return count($result) ? $result : null;
244 244
 	}
245 245
 
246
+	/**
247
+	 * @param string $content
248
+	 */
246 249
 	public static function getLinksIn($content) {
247 250
 		return self::findByTagAndAttribute($content, array("a" => "href"));
248 251
 	}
@@ -285,6 +288,7 @@  discard block
 block discarded – undo
285 288
 
286 289
 	/**
287 290
 	 * Set the maximum age of this page in web caches, in seconds
291
+	 * @param integer $age
288 292
 	 */
289 293
 	public static function set_cache_age($age) {
290 294
 		self::$cache_age = $age;
@@ -296,11 +300,17 @@  discard block
 block discarded – undo
296 300
 			self::$modification_date = $timestamp;
297 301
 	}
298 302
 
303
+	/**
304
+	 * @param integer $timestamp
305
+	 */
299 306
 	public static function register_modification_timestamp($timestamp) {
300 307
 		if($timestamp > self::$modification_date)
301 308
 			self::$modification_date = $timestamp;
302 309
 	}
303 310
 
311
+	/**
312
+	 * @param string $etag
313
+	 */
304 314
 	public static function register_etag($etag) {
305 315
 		self::$etag = $etag;
306 316
 	}
Please login to merge, or discard this patch.