mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Confirms string()->unique() correctly resolves to string type. Related to barryvdh/laravel-ide-helper#1747 Co-authored-by: Youssef Mansour <[email protected]>
13 lines
228 B
PHP
13 lines
228 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\UniqueColumn\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class User extends Model
|
|
{
|
|
protected $table = 'users_unique';
|
|
}
|