for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Resova\Models;
class BasketDelete
{
/**
* List of allowed fields
*
* @return array
*/
public function allowed(): array
return [
'id' => 'int',
'deleted' => 'bool',
];
}