Skip to content

Commit ffdc7c2

Browse files
author
Bulat Shakirzyanov
committed
fix example
1 parent 8e76f7d commit ffdc7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ You run CQL statements by passing them to [`Cassandra\Session::execute()`](http:
208208
$result = $session->execute(new Cassandra\SimpleStatement('SELECT keyspace_name, columnfamily_name FROM system.schema_columnfamilies'));
209209

210210
foreach ($result as $row) {
211-
sprintf("The keyspace \"%s\" has a table \"%s\".\n", $row['keyspace_name'], $row['columnfamily_name']);
211+
printf("The keyspace \"%s\" has a table \"%s\".\n", $row['keyspace_name'], $row['columnfamily_name']);
212212
}
213213
```
214214

0 commit comments

Comments
 (0)