Skip to content

Commit bc550c1

Browse files
Update src/Eloquent/HasDocumentVersion.php
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
1 parent cd75f9b commit bc550c1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Eloquent/HasDocumentVersion.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,9 @@ public static function bootHasDocumentVersion(): void
2727
}
2828

2929
/**
30-
* migrate model document version schema
31-
*
32-
* @param int|null $fromVersion
33-
* @return void
30+
* Migrate document to the current schema version.
3431
*/
35-
public function migrateDocumentVersion($fromVersion): void
32+
public function migrateDocumentVersion(int $fromVersion): void
3633
{
3734
}
3835

0 commit comments

Comments
 (0)