Skip to content

Commit 138dda5

Browse files
author
Pantea Marius-ciclistu
committed
getAttribute replaced with getAttributeValue
1 parent 3a86996 commit 138dda5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
"laravel/framework": ">= 8.0",
3636
"macropay-solutions/maravel": "dev-production",
3737
"macropay-solutions/maravelith": "dev-production",
38-
"macropay-solutions/laravel-crud-wizard-free": "*",
39-
"macropay-solutions/laravel-crud-wizard": "*"
38+
"macropay-solutions/laravel-crud-wizard-free": "*"
4039
},
4140
"require-dev": {
4241
"illuminate/console": "^9.0"

src/stubs/ModelComposed.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ DummyFillable
3636
public function getPrimaryKeyFilter(): array
3737
{
3838
return [
39-
'id_1' => $this->getAttribute('id_1'), // todo
40-
'id_2' => $this->getAttribute('id_2'), // todo
39+
'id_1' => $this->getAttributeValue('id_1'), // todo
40+
'id_2' => $this->getAttributeValue('id_2'), // todo
4141
// ... todo
4242
];
4343
}

0 commit comments

Comments
 (0)