aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Parser/Parser.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-04-25 21:49:18 -0700
committerzotlabs <mike@macgirvin.com>2019-04-25 21:49:18 -0700
commite6521d1cf3166a888ad58b09059d9dc5746ad795 (patch)
tree6ab3e41d888f18b2dcad351f86c3ed0628eda307 /vendor/sabre/vobject/lib/Parser/Parser.php
parent96785e8df1b325a32c93ebebf67ab5208f4088dc (diff)
parentd689778465c0439d0ceae071dab2509e3f95403e (diff)
downloadvolse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.gz
volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.bz2
volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'vendor/sabre/vobject/lib/Parser/Parser.php')
-rw-r--r--vendor/sabre/vobject/lib/Parser/Parser.php21
1 files changed, 8 insertions, 13 deletions
diff --git a/vendor/sabre/vobject/lib/Parser/Parser.php b/vendor/sabre/vobject/lib/Parser/Parser.php
index ca8bc0add..b7b611430 100644
--- a/vendor/sabre/vobject/lib/Parser/Parser.php
+++ b/vendor/sabre/vobject/lib/Parser/Parser.php
@@ -11,8 +11,8 @@ namespace Sabre\VObject\Parser;
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-abstract class Parser {
-
+abstract class Parser
+{
/**
* Turning on this option makes the parser more forgiving.
*
@@ -41,12 +41,10 @@ abstract class Parser {
* Optionally, it's possible to parse the input stream here.
*
* @param mixed $input
- * @param int $options Any parser options (OPTION constants).
- *
- * @return void
+ * @param int $options any parser options (OPTION constants)
*/
- function __construct($input = null, $options = 0) {
-
+ public function __construct($input = null, $options = 0)
+ {
if (!is_null($input)) {
$this->setInput($input);
}
@@ -62,19 +60,16 @@ abstract class Parser {
* If either input or options are not supplied, the defaults will be used.
*
* @param mixed $input
- * @param int $options
+ * @param int $options
*
* @return array
*/
- abstract function parse($input = null, $options = 0);
+ abstract public function parse($input = null, $options = 0);
/**
* Sets the input data.
*
* @param mixed $input
- *
- * @return void
*/
- abstract function setInput($input);
-
+ abstract public function setInput($input);
}