bump first argument down a line so the example is PSR-2

This commit is contained in:
Yannick Lyn Fatt
2014-03-10 23:57:56 -05:00
parent 33727f532a
commit eec6e11d8b

View File

@@ -56,7 +56,8 @@ $string = mb_substr($string, 0, 15);
// Connect to a database to store the transformed string
// See the PDO example in this document for more information
// Note the `set names utf8mb4` commmand!
$link = new \PDO( 'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4',
$link = new \PDO(
'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4',
'your-username',
'your-password',
array(