laravel错误:命名空间声明语句必须是第一个语句或在脚本中的任何声明调用之后

Ken*_*eth 10 php laravel laravel-5.5

在我用git拉我的项目之后.我收到这个错误.这是我第一次遇到这个错误.

错误是:

Namespace declaration statement has to be the very first statement or after any declare call in the script
Run Code Online (Sandbox Code Playgroud)

我的模特

 <?php

namespace App\Models;
Run Code Online (Sandbox Code Playgroud)

我的laravel的版本是5.5.任何的想法?

Gay*_*yan 35

<?php标签前面有一个空白区域.去掉它.

<?php

namespace App\Models;
Run Code Online (Sandbox Code Playgroud)