phpcs phpcbf
This commit is contained in:
@@ -19,9 +19,9 @@ use Cake\ORM\Entity;
|
||||
* @property \CakeAddresses\Model\Entity\Country[] $countries
|
||||
* @property \CakeAddresses\Model\Entity\Subregion[] $subregions
|
||||
*/
|
||||
class Region extends Entity
|
||||
{
|
||||
/**
|
||||
class Region extends Entity {
|
||||
|
||||
/**
|
||||
* Fields that can be mass assigned using newEntity() or patchEntity().
|
||||
*
|
||||
* Note that when '*' is set to true, this allows all unspecified fields to
|
||||
@@ -30,14 +30,15 @@ class Region extends Entity
|
||||
*
|
||||
* @var array<string, bool>
|
||||
*/
|
||||
protected array $_accessible = [
|
||||
'name' => true,
|
||||
'translations' => true,
|
||||
'created_at' => true,
|
||||
'updated_at' => true,
|
||||
'flag' => true,
|
||||
'wikiDataId' => true,
|
||||
'countries' => true,
|
||||
'subregions' => true,
|
||||
];
|
||||
protected array $_accessible = [
|
||||
'name' => true,
|
||||
'translations' => true,
|
||||
'created_at' => true,
|
||||
'updated_at' => true,
|
||||
'flag' => true,
|
||||
'wikiDataId' => true,
|
||||
'countries' => true,
|
||||
'subregions' => true,
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user