Skip to content

Commit 241ce71

Browse files
authored
Merge pull request #100 from laravel-shift/l10-compatibility
Laravel 10.x Compatibility
2 parents 80f38df + ed6ad32 commit 241ce71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"require": {
2828
"php": "^8.0",
2929
"guzzlehttp/guzzle": "^7.0.1",
30-
"illuminate/support": "^8.0|^9.0"
30+
"illuminate/support": "^8.0|^9.0|^10.0"
3131
},
3232
"require-dev": {
33-
"orchestra/testbench": "^6.0",
33+
"orchestra/testbench": "^6.0|^8.0",
3434
"pestphp/pest": "^1.22",
3535
"pestphp/pest-plugin-laravel": "^1.3",
3636
"phpunit/phpunit": "^9.0"

src/Entities/Properties/Property.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private static function mapTypeToClass(string $type): string
177177
case 'files':
178178
case 'formula':
179179
case 'rollup':
180+
case 'relation':
180181
$class = str_replace('_', '', ucwords($type, '_'));
181182

182183
return 'FiveamCode\\LaravelNotionApi\\Entities\\Properties\\'.$class;

0 commit comments

Comments
 (0)