From 2b2bd54f3c135b0fc78708dc24577b8db1aabb44 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Thu, 28 Jan 2016 14:08:07 -0400 Subject: [PATCH] Add hinting and use more ancestor. --- islandora.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/islandora.api.php b/islandora.api.php index 8334a2e3..1d0d9872 100644 --- a/islandora.api.php +++ b/islandora.api.php @@ -877,12 +877,12 @@ function hook_islandora_edit_datastream_registry_alter(&$edit_registry, $context /** * Permit configuration of connection parameters. * - * @param IslandoraRepositoryConnection $instance + * @param RepositoryConnection $instance * The connection being constructed. See the relevant Tuque ancestor classes * for the particulars. * * @see https://github.com/Islandora/tuque/blob/1.x/HttpConnection.php */ -function hook_islandora_repository_connection_construction_alter($instance) { +function hook_islandora_repository_connection_construction_alter(RepositoryConnection $instance) { $instance->userAgent = "Tuque/cURL"; }