Skip to content

Commit

Permalink
update dependencies + fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagof committed Sep 12, 2024
1 parent c59a3ca commit 026e510
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}
],
"require": {
"php": "^8.1|^8.2",
"illuminate/contracts": "^10.0",
"php": "^8.2|^8.3",
"illuminate/contracts": "^10.0|^11.0",
"spatie/laravel-package-tools": "^1.14.0",
"spatie/laravel-permission": "^5.10"
},
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ parameters:
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false
6 changes: 6 additions & 0 deletions src/Contracts/IsElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ interface IsElement
{
public static function getElementType(): string;

/**
* @param array<string, mixed> $payload
*/
public static function fromPayload(array $payload): static;

/**
* @return array<string, mixed>
*/
public function toPayload(): array;
}

0 comments on commit 026e510

Please sign in to comment.