Skip to content

Fix compatibility with laravel/framework#49231#82

Merged
pvsaintpe merged 1 commit intoumbrellio:masterfrom
mpyw:fix/has-view-compatibility
Dec 21, 2023
Merged

Fix compatibility with laravel/framework#49231#82
pvsaintpe merged 1 commit intoumbrellio:masterfrom
mpyw:fix/has-view-compatibility

Conversation

@mpyw
Copy link
Copy Markdown
Contributor

@mpyw mpyw commented Dec 6, 2023

Comment thread src/Schema/Builder.php
Comment on lines 31 to 32

public function hasView(string $view): bool
public function hasView($view): bool
{
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argument types must NOT be narrowed, whereas return types can be narrowed.

@mpyw
Copy link
Copy Markdown
Contributor Author

mpyw commented Dec 21, 2023

Hi, Umbrellio Teams

@tycooon
@nulldef
@scatmanoleg
@eugeneyak
@AnotherRegularDude
@VMashanov
@wildkain
@pvsaintpe
@basherru
@nesaulov
@0exp
@lazeevv
@qem19

Please review the pull-request, this is such an important fix.
Currently every Laravel user cannot upgrade the version due to the issue.

I'll appreciate for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Declaration of Umbrellio\Postgres\Schema\Builder::hasView(string $view): bool must be compatible with Illuminate\Database\Schema\Builder::hasView($view)

2 participants