Skip to content

Commit e6bfed6

Browse files
committed
build: Add support for PHP v8.4 and Laravel v12
1 parent e342f24 commit e6bfed6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.0|^8.1|^8.2|^8.3",
14-
"laravel/framework": "^9.0|^10.0|^11.0"
13+
"php": "^8.0|^8.1|^8.2|^8.3|^8.4",
14+
"laravel/framework": "^9.0|^10.0|^11.0|^12.0"
1515
},
1616
"autoload": {
1717
"files": [

src/Contracts/ResourceRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface ResourceRequest {
1111
*
1212
* @return string Request hashed identifier
1313
*/
14-
public function hash(string $append = null): string;
14+
public function hash(?string $append = null): string;
1515

1616
public function authorize(): bool;
1717

src/ResourceRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ResourceRequest extends FormRequest implements Contracts\ResourceRequest {
1212

13-
final public function hash(string $append = null): string {
13+
final public function hash(?string $append = null): string {
1414
$parameters = $this->route()?->parameters() ?? [];
1515

1616
return sprintf('%s %s [%s@%s]',

0 commit comments

Comments
 (0)