You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
471 B
PHP
22 lines
471 B
PHP
<?php
|
|
|
|
namespace Engelsystem\Test\Unit\Controllers\Stub;
|
|
|
|
use ArrayAccess;
|
|
use Engelsystem\Controllers\CleanupModel;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CleanupModelImplementation
|
|
{
|
|
use CleanupModel;
|
|
|
|
/**
|
|
* @param Model|ArrayAccess|Model[] $model
|
|
* @param array $attributes
|
|
*/
|
|
public function cleanup($model, array $attributes = []): void
|
|
{
|
|
$this->cleanupModelNullValues($model, $attributes);
|
|
}
|
|
}
|