1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-12 08:14:06 +02:00

Comment fix

This commit is contained in:
Daniel St. Jules
2015-07-25 20:07:23 -07:00
parent 3dcc801483
commit 4a971302f7
2 changed files with 2 additions and 2 deletions

View File

@@ -713,7 +713,7 @@ s('fòôbàř')->slice(3, -1); // 'bà'
Splits the string with the provided regular expression, returning an Splits the string with the provided regular expression, returning an
array of Stringy objects. An optional integer $limit will truncate the array of Stringy objects. An optional integer $limit will truncate the
numbers of results returned. results.
```php ```php
s('foo,bar,baz')->split(',', 2); // ['foo', 'bar'] s('foo,bar,baz')->split(',', 2); // ['foo', 'bar']

View File

@@ -1335,7 +1335,7 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
/** /**
* Splits the string with the provided regular expression, returning an * Splits the string with the provided regular expression, returning an
* array of Stringy objects. An optional integer $limit will truncate the * array of Stringy objects. An optional integer $limit will truncate the
* numbers of results returned. * results.
* *
* @param string $pattern The regex with which to split the string * @param string $pattern The regex with which to split the string
* @param int $limit Optional maximum number of results to return * @param int $limit Optional maximum number of results to return