Skip to content

Commit a4aad71

Browse files
author
Patrick Barsallo
committed
Update Morphs Blueprints for Laravel ^12.23 Compatibility
1 parent 0b45199 commit a4aad71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Schema/ManagesDefaultMigrations.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function mediumText($column, bool $hasKeyword = false, array $parameters
249249
/**
250250
* {@inheritdoc}
251251
*/
252-
public function morphs($name, $indexName = null): void
252+
public function morphs($name, $indexName = null, $after = null): void
253253
{
254254
$this->keyword("{$name}_type");
255255
$this->keyword("{$name}_id");
@@ -390,17 +390,17 @@ public function unsignedTinyInteger($column, $autoIncrement = false, array $para
390390
/**
391391
* {@inheritdoc}
392392
*/
393-
public function ulidMorphs($name, $indexName = null): void
393+
public function ulidMorphs($name, $indexName = null, $after = null): void
394394
{
395-
$this->morphs($name, $indexName);
395+
$this->morphs($name, $indexName, $after);
396396
}
397397

398398
/**
399399
* {@inheritdoc}
400400
*/
401-
public function uuidMorphs($name, $indexName = null): void
401+
public function uuidMorphs($name, $indexName = null, $after = null): void
402402
{
403-
$this->morphs($name, $indexName);
403+
$this->morphs($name, $indexName, $after);
404404
}
405405

406406
/**

0 commit comments

Comments
 (0)