aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Property/IntegerValue.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-25 11:47:18 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-25 11:47:18 +0200
commita60c2f38c689f254bd8bb8e7ea9af78bf21c1f84 (patch)
tree65d1d73918ccb1d4ccc36184d70af2e8dd91f28e /vendor/sabre/vobject/lib/Property/IntegerValue.php
parentf1c07977809ce3221286d53e99f0d91145b1166f (diff)
downloadvolse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.tar.gz
volse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.tar.bz2
volse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.zip
update sabre/vobject
Diffstat (limited to 'vendor/sabre/vobject/lib/Property/IntegerValue.php')
-rw-r--r--vendor/sabre/vobject/lib/Property/IntegerValue.php37
1 files changed, 14 insertions, 23 deletions
diff --git a/vendor/sabre/vobject/lib/Property/IntegerValue.php b/vendor/sabre/vobject/lib/Property/IntegerValue.php
index 5bd1887fa..ddd71d731 100644
--- a/vendor/sabre/vobject/lib/Property/IntegerValue.php
+++ b/vendor/sabre/vobject/lib/Property/IntegerValue.php
@@ -15,8 +15,8 @@ use
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-class IntegerValue extends Property {
-
+class IntegerValue extends Property
+{
/**
* Sets a raw value coming from a mimedir (iCalendar/vCard) file.
*
@@ -24,13 +24,10 @@ class IntegerValue extends Property {
* not yet done, but parameters are not included.
*
* @param string $val
- *
- * @return void
*/
- function setRawMimeDirValue($val) {
-
- $this->setValue((int)$val);
-
+ public function setRawMimeDirValue($val)
+ {
+ $this->setValue((int) $val);
}
/**
@@ -38,10 +35,9 @@ class IntegerValue extends Property {
*
* @return string
*/
- function getRawMimeDirValue() {
-
+ public function getRawMimeDirValue()
+ {
return $this->value;
-
}
/**
@@ -52,10 +48,9 @@ class IntegerValue extends Property {
*
* @return string
*/
- function getValueType() {
-
+ public function getValueType()
+ {
return 'INTEGER';
-
}
/**
@@ -65,10 +60,9 @@ class IntegerValue extends Property {
*
* @return array
*/
- function getJsonValue() {
-
- return [(int)$this->getValue()];
-
+ public function getJsonValue()
+ {
+ return [(int) $this->getValue()];
}
/**
@@ -76,13 +70,10 @@ class IntegerValue extends Property {
* object.
*
* @param array $value
- *
- * @return void
*/
- function setXmlValue(array $value) {
-
+ public function setXmlValue(array $value)
+ {
$value = array_map('intval', $value);
parent::setXmlValue($value);
-
}
}