mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:14:03 +00:00
Fix little grammer
This commit is contained in:
parent
d798e3504a
commit
80496fb0f0
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ class UpdateSyncedResource extends QueueableListener
|
||||||
$attributes = $model->getAttributes();
|
$attributes = $model->getAttributes();
|
||||||
|
|
||||||
if ($model->getResourceCreationAttributes()) {
|
if ($model->getResourceCreationAttributes()) {
|
||||||
// If developer provided key-value array, we'll use them as it
|
// If the developer provided a key-value array, we'd use them as it
|
||||||
// If developer provided plain array, we'll use them to pick model attributes
|
// If the developer provided a plain array, we'd use them to pick model attributes
|
||||||
$attributes = Arr::isAssoc($model->getResourceCreationAttributes()) ? $model->getResourceCreationAttributes() : $model->only($model->getResourceCreationAttributes());
|
$attributes = Arr::isAssoc($model->getResourceCreationAttributes()) ? $model->getResourceCreationAttributes() : $model->only($model->getResourceCreationAttributes());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue