mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-11 07:44:12 +02:00
fix typo in pad function call
This commit is contained in:
@@ -503,7 +503,7 @@ string used for padding is a space, and the default type (one of 'left',
|
|||||||
$padType isn't one of those 3 values.
|
$padType isn't one of those 3 values.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
S::create('fòô bàř', 'UTF-8')->pad( 10, '¬ø', 'left',);
|
S::create('fòô bàř', 'UTF-8')->pad( 10, '¬ø', 'left');
|
||||||
S::pad('fòô bàř', 10, '¬ø', 'left', 'UTF-8'); // '¬ø¬fòô bàř'
|
S::pad('fòô bàř', 10, '¬ø', 'left', 'UTF-8'); // '¬ø¬fòô bàř'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user