Skip to content

Commit 42f0a50

Browse files
storyn26383taylorotwell
authored andcommitted
fix psr-2: database readme sample code (#19490)
1 parent 7488657 commit 42f0a50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Illuminate/Database/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ $results = Capsule::select('select * from users where id = ?', array(1));
5151
**Using The Schema Builder**
5252

5353
```PHP
54-
Capsule::schema()->create('users', function($table)
55-
{
54+
Capsule::schema()->create('users', function ($table) {
5655
$table->increments('id');
5756
$table->string('email')->unique();
5857
$table->timestamps();

0 commit comments

Comments
 (0)