summaryrefslogtreecommitdiff
path: root/includes/model/ValidationResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/ValidationResult.php')
-rw-r--r--includes/model/ValidationResult.php54
1 files changed, 27 insertions, 27 deletions
diff --git a/includes/model/ValidationResult.php b/includes/model/ValidationResult.php
index 7dfcb5ba..b08e9d31 100644
--- a/includes/model/ValidationResult.php
+++ b/includes/model/ValidationResult.php
@@ -12,33 +12,33 @@ class ValidationResult
private $value;
- /**
- * Constructor.
- *
- * @param boolean $valid
- * Is the value valid?
- * @param * $value
- * The validated value
- */
- public function __construct($valid, $value)
- {
- $this->valid = $valid;
- $this->value = $value;
- }
+ /**
+ * Constructor.
+ *
+ * @param boolean $valid
+ * Is the value valid?
+ * @param * $value
+ * The validated value
+ */
+ public function __construct($valid, $value)
+ {
+ $this->valid = $valid;
+ $this->value = $value;
+ }
- /**
- * Is the value valid?
- */
- public function isValid()
- {
- return $this->valid;
- }
+ /**
+ * Is the value valid?
+ */
+ public function isValid()
+ {
+ return $this->valid;
+ }
- /**
- * The parsed/validated value.
- */
- public function getValue()
- {
- return $this->value;
- }
+ /**
+ * The parsed/validated value.
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
}