| 1 | <?php |
||
| 24 | trait FieldLayoutAttributeTrait |
||
| 25 | { |
||
| 26 | use ActiveRecordTrait, |
||
| 27 | FieldLayoutRulesTrait, |
||
| 28 | FieldLayoutMutatorTrait { |
||
| 29 | resolveFieldLayout as parentResolveFieldLayout; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | public function fieldLayoutAttributes(): array |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | public function fieldLayoutAttributeLabels(): array |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritDoc |
||
| 54 | */ |
||
| 55 | protected function internalSetFieldLayoutId(int $id = null) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritDoc |
||
| 63 | */ |
||
| 64 | protected function internalGetFieldLayoutId() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return FieldLayoutModel|null |
||
| 74 | */ |
||
| 75 | protected function resolveFieldLayout() |
||
| 76 | { |
||
| 77 | if ($fieldLayout = $this->resolveFieldLayoutFromRelation()) { |
||
| 78 | return $fieldLayout; |
||
| 79 | } |
||
| 80 | |||
| 81 | return $this->parentResolveFieldLayout(); |
||
|
1 ignored issue
–
show
|
|||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return FieldLayoutModel|null|object |
||
| 86 | */ |
||
| 87 | private function resolveFieldLayoutFromRelation() |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Get the associated Field Layout |
||
| 104 | * |
||
| 105 | * @return ActiveQueryInterface |
||
| 106 | */ |
||
| 107 | public function getFieldLayoutRecord(): ActiveQueryInterface |
||
| 114 | } |
||
| 115 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.