mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-76583 core_external: external_value coding style fixes
This commit is contained in:
parent
1125fa94f6
commit
be1c3877c5
1 changed files with 2 additions and 4 deletions
6
lib/external/classes/external_value.php
vendored
6
lib/external/classes/external_value.php
vendored
|
@ -22,7 +22,6 @@ namespace core_external;
|
|||
* @package core_external
|
||||
* @copyright 2009 Petr Skodak
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @since Moodle 2.0
|
||||
*/
|
||||
class external_value extends external_description {
|
||||
|
||||
|
@ -37,10 +36,9 @@ class external_value extends external_description {
|
|||
*
|
||||
* @param mixed $type
|
||||
* @param string $desc
|
||||
* @param bool $required
|
||||
* @param int $required
|
||||
* @param mixed $default
|
||||
* @param bool $allownull
|
||||
* @since Moodle 2.0
|
||||
*/
|
||||
public function __construct(
|
||||
$type,
|
||||
|
@ -50,7 +48,7 @@ class external_value extends external_description {
|
|||
$allownull = NULL_ALLOWED
|
||||
) {
|
||||
parent::__construct($desc, $required, $default);
|
||||
$this->type = $type;
|
||||
$this->type = $type;
|
||||
$this->allownull = $allownull;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue