Skip to content

Commit 2a6b709

Browse files
committed
Merge branch '4.x' into merge-4.x
2 parents 9a53997 + 9227259 commit 2a6b709

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ main, develop, 4.x ]
66
pull_request:
7-
branches: [ main, develop ]
7+
branches: [ main, develop, 4.x ]
88

99
jobs:
1010
build:

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ All notable changes to this project will be documented in this file. This projec
1212
- **BREAKING**: [#21](https://github.com/laravel-json-api/core/pull/21) The `Authorizer` contract now allows all methods
1313
to return a `bool` or an Illuminate authorization response.
1414

15+
## [4.3.2] - 2024-11-30
16+
17+
### Fixed
18+
19+
- Remove more PHP 8.4 deprecation notices.
20+
1521
## [4.3.1] - 2024-11-29
1622

1723
### Fixed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require": {
2626
"php": "^8.2",
2727
"ext-json": "*",
28-
"illuminate/auth": "^11.33",
28+
"illuminate/auth": "^11.0",
2929
"illuminate/contracts": "^11.0",
3030
"illuminate/http": "^11.0",
3131
"illuminate/support": "^11.0"

src/Core/Document/ErrorSource.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
class ErrorSource implements Serializable
2121
{
22-
2322
use Concerns\Serializable;
2423

2524
/**
@@ -71,7 +70,7 @@ public static function fromArray(array $source): self
7170
* @param string|null $pointer
7271
* @param string|null $parameter
7372
*/
74-
public function __construct(string $pointer = null, string $parameter = null)
73+
public function __construct(?string $pointer = null, ?string $parameter = null)
7574
{
7675
$this->pointer = $pointer;
7776
$this->parameter = $parameter;

src/Core/JsonApiService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function route(): Route
6363
* @param string|null $name
6464
* @return Server
6565
*/
66-
public function server(string $name = null): Server
66+
public function server(?string $name = null): Server
6767
{
6868
if (is_string($name)) {
6969
return $this->servers()->server($name);

src/Core/Schema/Schema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public function uriType(): string
223223
/**
224224
* @inheritDoc
225225
*/
226-
public function url($extra = [], bool $secure = null): string
226+
public function url($extra = [], ?bool $secure = null): string
227227
{
228228
$extra = Arr::wrap($extra);
229229

0 commit comments

Comments
 (0)