Run Laravel Pint

This commit is contained in:
3m1n3nc3
2024-07-09 04:54:23 +01:00
parent c652a9cfe0
commit fcce301be6
10 changed files with 38 additions and 52 deletions
+4 -6
View File
@@ -2,22 +2,20 @@
namespace BeyondCode\Comments\Tests\Models;
use Illuminate\Foundation\Auth\User;
use BeyondCode\Comments\Contracts\Commentator;
use Illuminate\Foundation\Auth\User;
class ApprovedUser extends User implements Commentator
{
protected $table = 'users';
/**
* Check if a comment for a specific model needs to be approved.
* @param mixed $model
* @return bool
*
* @param mixed $model
*/
public function needsCommentApproval($model): bool
{
return false;
}
}
}
-1
View File
@@ -3,7 +3,6 @@
namespace BeyondCode\Comments\Tests\Models;
use BeyondCode\Comments\Traits\HasComments;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Post extends Model