diff --git a/view/ArrayData.php b/view/ArrayData.php index 8c70201e0..9061a510b 100644 --- a/view/ArrayData.php +++ b/view/ArrayData.php @@ -15,11 +15,11 @@ class ArrayData extends ViewableData { /** - * @var array + * @var array * @see ArrayData::_construct() */ protected $array; - + /** * @param object|array $value An associative array, or an object with simple properties. * Converts object properties to keys of an associative array. @@ -37,7 +37,7 @@ class ArrayData extends ViewableData { } parent::__construct(); } - + /** * Get the source array * @@ -46,7 +46,7 @@ class ArrayData extends ViewableData { public function toMap() { return $this->array; } - + /** * Gets a field from this object. * @@ -78,7 +78,7 @@ class ArrayData extends ViewableData { public function setField($field, $value) { $this->array[$field] = $value; } - + /** * Check array to see if field isset * @@ -88,7 +88,7 @@ class ArrayData extends ViewableData { public function hasField($f) { return isset($this->array[$f]); } - + /** * Converts an associative array to a simple object * diff --git a/view/Requirements.php b/view/Requirements.php index cc86cd077..76cad5ffd 100644 --- a/view/Requirements.php +++ b/view/Requirements.php @@ -17,7 +17,7 @@ class Requirements implements Flushable { /** * Enable combining of css/javascript files. - * + * * @param bool $enable */ public static function set_combined_files_enabled($enable) { @@ -26,7 +26,7 @@ class Requirements implements Flushable { /** * Checks whether combining of css/javascript files is enabled. - * + * * @return bool */ public static function get_combined_files_enabled() { @@ -35,7 +35,7 @@ class Requirements implements Flushable { /** * Set the relative folder e.g. 'assets' for where to store combined files - * + * * @param string $folder Path to folder */ public static function set_combined_files_folder($folder) { @@ -43,7 +43,7 @@ class Requirements implements Flushable { } /** - * Set whether to add caching query params to the requests for file-based requirements. + * Set whether to add caching query params to the requests for file-based requirements. * Eg: themes/myTheme/js/main.js?m=123456789. The parameter is a timestamp generated by * filemtime. This has the benefit of allowing the browser to cache the URL infinitely, * while automatically busting this cache every time the file is changed. @@ -64,8 +64,8 @@ class Requirements implements Flushable { } /** - * Instance of the requirements for storage. You can create your own backend to change the - * default JS and CSS inclusion behaviour. + * Instance of the requirements for storage. You can create your own backend to change the + * default JS and CSS inclusion behaviour. * * @var Requirements_Backend */ @@ -89,7 +89,7 @@ class Requirements implements Flushable { /** * Register the given JavaScript file as required. - * + * * @param string $file Relative to docroot */ public static function javascript($file) { @@ -116,7 +116,7 @@ class Requirements implements Flushable { } /** - * Register the given CSS styles into the list of requirements + * Register the given CSS styles into the list of requirements * * @param string $script CSS selectors as a string (without enclosing