Parse error: syntax error, unexpected '\'

Posted 9 months ago by dagyoe

When I create pivot table via migration and only error.


use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class App\ extends Migration         <--------Error line-----<
     * Run the migrations.
     * @return void
    public function up()

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.