Skip to content

Commit

Permalink
Fix typo in variable name
Browse files Browse the repository at this point in the history
Fix #34
  • Loading branch information
rlanvin committed May 15, 2017
1 parent c220aee commit fa48bc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

## [Unreleased]

## [1.5.1] - 2017-05-15

### Fixed

- Throw exception when passing a float instead of an int (e.g. INTERVAL=1.5) instead of casting silently
- Variable name typo [#34](https://github.com/rlanvin/php-rrule/issues/34)

## [1.5.0] - 2017-05-07

Expand Down Expand Up @@ -119,7 +122,8 @@

- First release, everything before that was unversioned (`dev-master` was used).

[Unreleased]: https://github.com/rlanvin/php-rrule/compare/v1.5.0...HEAD
[Unreleased]: https://github.com/rlanvin/php-rrule/compare/v1.5.1...HEAD
[1.5.1]: https://github.com/rlanvin/php-rrule/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/rlanvin/php-rrule/compare/v1.4.2...v1.5.0
[1.4.2]: https://github.com/rlanvin/php-rrule/compare/v1.4.1...v1.4.2
[1.4.1]: https://github.com/rlanvin/php-rrule/compare/v1.4.0...v1.4.1
Expand Down
3 changes: 2 additions & 1 deletion src/RRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,12 +660,13 @@ public function rfcString($include_timezone = true)
static public function parseRfcString($string)
{
trigger_error('parseRfcString() is deprecated - use new RRule(), RRule::createFromRfcString() or \RRule\RfcParser::parseRRule() if necessary',E_USER_DEPRECATED);
return RfcParser::parseRRule($sring);
return RfcParser::parseRRule($string);
}

/**
* Take a RFC 5545 string and returns either a RRule or a RSet.
*
* @param string $string The RFC string
* @param bool $force_rset Force a RSet to be returned.
* @return RRule|RSet
*
Expand Down

0 comments on commit fa48bc4

Please sign in to comment.