We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 | 
| Total Lines | 50 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 8 | abstract class BaseDBCrudPanel extends BaseCrudPanel | ||
| 9 | { | ||
| 10 | use RefreshDatabase; | ||
|  | |||
| 11 | |||
| 12 | /** | ||
| 13 | * @var CrudPanel | ||
| 14 | */ | ||
| 15 | protected $crudPanel; | ||
| 16 | |||
| 17 | protected $model; | ||
| 18 | |||
| 19 | /** | ||
| 20 | * Setup the test environment. | ||
| 21 | * | ||
| 22 | * @return void | ||
| 23 | */ | ||
| 24 | protected function setUp(): void | ||
| 38 | } | ||
| 39 | |||
| 40 | /** | ||
| 41 | * Assert that the attributes of a model entry are equal to the expected array of attributes. | ||
| 42 | * | ||
| 43 | * @param array $expected attributes | ||
| 44 | * @param \Illuminate\Database\Eloquent\Model $actual model | ||
| 45 | */ | ||
| 46 | protected function assertEntryEquals($expected, $actual) | ||
| 60 |