Permalink
Browse files

MDL-31711 Documentation : changed usages of @property to @var for non…

…-magic variables.
  • Loading branch information...
1 parent c856a1f commit 1469dee12fb9713a5fcef80ae58d8f9de6ed0767 @nebgor nebgor committed Mar 27, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/externallib.php
View
@@ -335,11 +335,11 @@ protected static function validate_context($context) {
* Common ancestor of all parameter description classes
*/
abstract class external_description {
- /** @property string $description description of element */
+ /** @var string $description description of element */
public $desc;
- /** @property bool $required element value required, null not allowed */
+ /** @var bool $required element value required, null not allowed */
public $required;
- /** @property mixed $default default value */
+ /** @var mixed $default default value */
public $default;
/**
@@ -359,9 +359,9 @@ public function __construct($desc, $required, $default) {
* Scalar alue description class
*/
class external_value extends external_description {
- /** @property mixed $type value type PARAM_XX */
+ /** @var mixed $type value type PARAM_XX */
public $type;
- /** @property bool $allownull allow null values */
+ /** @var bool $allownull allow null values */
public $allownull;
/**
@@ -384,7 +384,7 @@ public function __construct($type, $desc='', $required=VALUE_REQUIRED,
* Associative array description class
*/
class external_single_structure extends external_description {
- /** @property array $keys description of array keys key=>external_description */
+ /** @var array $keys description of array keys key=>external_description */
public $keys;
/**
@@ -405,7 +405,7 @@ public function __construct(array $keys, $desc='',
* Bulk array description class.
*/
class external_multiple_structure extends external_description {
- /** @property external_description $content */
+ /** @var external_description $content */
public $content;
/**

0 comments on commit 1469dee

Please sign in to comment.