We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cab954 commit 07e8096Copy full SHA for 07e8096
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
## [0.2.0] - 2022-06-21
9
### Fixed
10
- Fix `EloquentAdapter::filterByIds()` getting key name from query model instead of adapter model
11
+- Fix deprecation notice on PHP 8.1
12
13
## [0.2.0-beta.6] - 2022-04-22
14
### Changed
src/JsonApi.php
@@ -315,7 +315,7 @@ public function getBasePath(): string
315
*/
316
public function stripBasePath(string $path): string
317
{
318
- $basePath = parse_url($this->basePath, PHP_URL_PATH);
+ $basePath = parse_url($this->basePath, PHP_URL_PATH) ?: '';
319
320
$len = strlen($basePath);
321
0 commit comments