Skip to content

Commit

Permalink
Merge pull request #9 from envor/main
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
inmanturbo committed Feb 22, 2024
2 parents 7577aa9 + f891a75 commit 1e72c51
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `laravel-datastore` will be documented in this file.

## v1.2.5 - 2024-02-22

### What's Changed

* form by @inmanturbo in https://github.com/envor/laravel-datastore/pull/8

**Full Changelog**: https://github.com/envor/laravel-datastore/compare/v1.2.4...v1.2.5

## v1.2.4 - 2024-02-21

### What's Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require": {
"php": "^8.1",
"envor/laravel-schema-macros": "^1.1",
"envor/platform": "^1.3",
"envor/platform": "^1.3.9",
"illuminate/contracts": "^11.0",
"spatie/laravel-package-tools": "^1.16.2"
},
Expand Down
10 changes: 10 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ parameters:
count: 1
path: tests/ArchTest.php

-
message: "#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$id\\.$#"
count: 3
path: tests/BelongsToDatastoreFormTest.php

-
message: "#^Undefined variable\\: \\$this$#"
count: 12
path: tests/BelongsToDatastoreFormTest.php

-
message: "#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$id\\.$#"
count: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
function ($model) {
$this->model = $model;
$this->state = [
$this->data = [
'datastore_uuid' => $model->datastore->uuid,
];
}
Expand Down

0 comments on commit 1e72c51

Please sign in to comment.