From b223a2c32067b0ff4011ef8212c33fa87ba1abe2 Mon Sep 17 00:00:00 2001 From: "Daniel St. Jules" Date: Sun, 20 Dec 2015 12:08:36 -0800 Subject: [PATCH] Small fixes from #105 --- src/Stringy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Stringy.php b/src/Stringy.php index bb39145..114833e 100644 --- a/src/Stringy.php +++ b/src/Stringy.php @@ -104,7 +104,7 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess * * @param string $start Delimiter marking the start of the substring * @param string $end Delimiter marketing the end of the substring - * @param string $offset Index from which to begin the search + * @param int $offset Index from which to begin the search * @return Stringy Object whose $str has been converted to an URL slug */ public function between($start, $end, $offset = 0) @@ -890,7 +890,7 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess * @param string $padStr String used to pad, defaults to space * @param string $padType One of 'left', 'right', 'both' * @return Stringy Object with a padded $str - * @throws InvalidArgumentException If $padType isn't one of 'right', + * @throws /InvalidArgumentException If $padType isn't one of 'right', * 'left' or 'both' */ public function pad($length, $padStr = ' ', $padType = 'right')