X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FActorMigration.php;h=5dde8a04d41b16dcb0f40ba3ccd36bad498775f4;hp=597b8e76e79e06bbe0245bea7b3e7deb4e0fac94;hb=e390198c4e4be7632b01173e42050061f1cc346a;hpb=2540c29b207494d771bd8e5b0ab43f0a056b5283 diff --git a/includes/ActorMigration.php b/includes/ActorMigration.php index 597b8e76e7..5dde8a04d4 100644 --- a/includes/ActorMigration.php +++ b/includes/ActorMigration.php @@ -144,11 +144,12 @@ class ActorMigration { * * @param string $key A key such as "rev_user" identifying the actor * field being fetched. - * @return array With three keys: + * @return array[] With three keys: * - tables: (string[]) to include in the `$table` to `IDatabase->select()` * - fields: (string[]) to include in the `$vars` to `IDatabase->select()` * - joins: (array) to include in the `$join_conds` to `IDatabase->select()` * All tables, fields, and joins are aliased, so `+` is safe to use. + * @phan-return array{tables:string[],fields:string[],joins:array} */ public function getJoin( $key ) { if ( !isset( $this->joinCache[$key] ) ) {