Skip to content

Conversation

@pbarsallo
Copy link

I noticed my migrations began failing with an incompatible declaration error:

Declaration of PDPhilip\OpenSearch\Schema\ManagesDefaultMigrations::morphs($name, $indexNa
  me = null): void must be compatible with Illuminate\Database\Schema\Blueprint::morphs($nam
  e, $indexName = null, $after = null)

It appears the morphs type blueprints were updated to support an $after parameter in a recent change that was bundled into the Laravel 12.23.0 release.

@pbarsallo pbarsallo requested a review from pdphilip as a code owner August 13, 2025 21:44
@pdphilip pdphilip merged commit 25f7994 into pdphilip:main Aug 20, 2025
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.

2 participants