aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/ElementList.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
committerMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
commit47fba5827bd106f53625b543f30643ca5ba1c16e (patch)
treebef05781eacc6dbc67d03899e0dde0257ce58096 /vendor/sabre/vobject/lib/ElementList.php
parent47f75ad8bfbe8325a76ae6fe466aa8080fc87045 (diff)
parent516167c0f8579c8a068b6e52557e7e1109f897ae (diff)
downloadvolse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.gz
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.bz2
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.zip
Merge branch 'dev' into 'dev'
# Conflicts: # Zotlabs/Lib/ThreadItem.php
Diffstat (limited to 'vendor/sabre/vobject/lib/ElementList.php')
-rw-r--r--vendor/sabre/vobject/lib/ElementList.php22
1 files changed, 7 insertions, 15 deletions
diff --git a/vendor/sabre/vobject/lib/ElementList.php b/vendor/sabre/vobject/lib/ElementList.php
index 959249247..56058cbd5 100644
--- a/vendor/sabre/vobject/lib/ElementList.php
+++ b/vendor/sabre/vobject/lib/ElementList.php
@@ -15,23 +15,19 @@ use LogicException;
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-class ElementList extends ArrayIterator {
-
-
+class ElementList extends ArrayIterator
+{
/* {{{ ArrayAccess Interface */
/**
* Sets an item through ArrayAccess.
*
- * @param int $offset
+ * @param int $offset
* @param mixed $value
- *
- * @return void
*/
- function offsetSet($offset, $value) {
-
+ public function offsetSet($offset, $value)
+ {
throw new LogicException('You can not add new objects to an ElementList');
-
}
/**
@@ -40,15 +36,11 @@ class ElementList extends ArrayIterator {
* This method just forwards the request to the inner iterator
*
* @param int $offset
- *
- * @return void
*/
- function offsetUnset($offset) {
-
+ public function offsetUnset($offset)
+ {
throw new LogicException('You can not remove objects from an ElementList');
-
}
/* }}} */
-
}