1
0
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:
Florian Semm
2013-12-09 15:15:45 +01:00
parent 6ba29637b2
commit 6014ff52df

View File

@@ -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àř'
``` ```