Skip to content

Commit f3ab055

Browse files
Update src/SchemaModel.php
Co-authored-by: Jason Adams <jason.adams@stellarwp.com>
1 parent 76e363c commit f3ab055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SchemaModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ private function deleteAllRelationshipData(): void {
537537
*
538538
* @param string $key The key of the relationship.
539539
* @param string $type The type of the relationship.
540-
* @param ?string $through A table interface that provides the relationship.
540+
* @param ?class-string<Table_Interface> $through A table interface that provides the relationship.
541541
* @param string $relationship_entity The entity of the relationship.
542542
*/
543543
protected function defineRelationship( string $key, string $type, ?string $through = null, string $relationship_entity = 'post' ): void {

0 commit comments

Comments
 (0)