From eeb51c4c0c06e6df3266f85ea774ca314536aba4 Mon Sep 17 00:00:00 2001 From: Jonathan Goode Date: Sun, 8 Oct 2023 09:43:14 +0100 Subject: [PATCH] Update docs --- README.md | 5 ++--- src/ICal/ICal.php | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c5c6b80..7fc2c7f 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,8 @@ need to be evaluated before non-fitting events can be dropped. | `calendarDescription` | - | `public` | Returns the calendar description | | `calendarName` | - | `public` | Returns the calendar name | | `calendarTimeZone` | `$ignoreUtc` | `public` | Returns the calendar time zone | -| `cleanData` | `$data` | `protected` | Replaces curly quotes and other special characters with their standard equivalents | -| `eventsFromInterval` | `$interval` | `public` | Returns a sorted array of events following a given string, or `false` if no events exist in the range | +| `cleanCharacters` | `$data` | `protected` | Replaces curly quotes and other special characters with their standard equivalents | +| `eventsFromInterval` | `$interval` | `public` | Returns a sorted array of events following a given string | | `eventsFromRange` | `$rangeStart = false`, `$rangeEnd = false` | `public` | Returns a sorted array of events in a given range, or an empty array if no events exist in the range | | `events` | - | `public` | Returns an array of Events | | `fileOrUrl` | `$filename` | `protected` | Reads an entire file or URL into an array | @@ -192,7 +192,6 @@ need to be evaluated before non-fitting events can be dropped. | `keyValueFromString` | `$text` | `public` | Gets the key value pair from an iCal string | | `parseLine` | `$line` | `protected` | Parses a line from an iCal file into an array of tokens | | `mb_chr` | `$code` | `protected` | Provides a polyfill for PHP 7.2's `mb_chr()`, which is a multibyte safe version of `chr()` | -| `mb_str_replace` | `$search`, `$replace`, `$subject`, `$count = 0` | `protected` | Replaces all occurrences of a search string with a given replacement string | | `escapeParamText` | `$candidateText` | `protected` | Places double-quotes around texts that have characters not permitted in parameter-texts, but are permitted in quoted-texts. | | `parseDuration` | `$date`, `$duration`, `$format = 'U'` | `protected` | Parses a duration and applies it to a date | | `parseExdates` | `$event` | `public` | Parses a list of excluded dates to be applied to an Event | diff --git a/src/ICal/ICal.php b/src/ICal/ICal.php index dfd1b29..9252975 100644 --- a/src/ICal/ICal.php +++ b/src/ICal/ICal.php @@ -2272,8 +2272,7 @@ public function eventsFromRange($rangeStart = null, $rangeEnd = null) } /** - * Returns a sorted array of the events following a given string, - * or `false` if no events exist in the range. + * Returns a sorted array of the events following a given string * * @param string $interval * @return array