Tutorial doesn't have physics

I quote this from Making your first Phaser 3 game: Part 1 - Introduction - Learn - Phaser

var config = {
    type: Phaser.AUTO,
    width: 800,
    height: 600,
    scene: {
        preload: preload,
        create: create,
        update: update
    }
};

In particular, the “physics” key is missing. This causes things like “this.physics.add” in the create function to fail, as this.physics is undefined.

I notice that it’s added in the second page, but that’s only AFTER the first use of “this.physics.add”. I think it should be moved to before it (or even at the beginning) to avoid confusion.

Immediately after the code that creates the physics platforms it says:

Glancing quickly at the code you’ll see a call to this.physics . This means we’re using the Arcade Physics system, but before we can do that we need to add it to our Game Config to tell Phaser our game requires it. So let’s update that to include physics support. Here is the revised game config:

I guess this part could come first, but they’re literally head to toe in the same paragraph.