From 30a3dad32a78471a8016ada7749d80952d453f4c Mon Sep 17 00:00:00 2001 From: rlanvin Date: Wed, 31 Aug 2016 15:35:01 +0300 Subject: [PATCH] Comments and coding style --- src/RRule.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/RRule.php b/src/RRule.php index 9b1aa33..4827cf7 100755 --- a/src/RRule.php +++ b/src/RRule.php @@ -524,6 +524,16 @@ class RRule implements RRuleInterface } } + /** + * Return the internal rule array, as it was passed to the constructor. + * + * @return array + */ + public function getRule() + { + return $this->rule; + } + /** * Magic string converter. * @@ -2574,8 +2584,4 @@ class RRule implements RRuleInterface $str = implode('',$parts); return $str; } - - public function getRule() { - return $this->rule; - } }