From 65ce332ee6e25f0d7e8ff4766d639eddb210bb60 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 11 Jan 2018 17:43:34 +0100 Subject: [PATCH] Added return type to Horde and Alliance --- src/Alliance.php | 2 +- src/Horde.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Alliance.php b/src/Alliance.php index 1c4b9a7..135093c 100644 --- a/src/Alliance.php +++ b/src/Alliance.php @@ -4,7 +4,7 @@ final class Alliance { - public static function headers() + public static function headers(): array { return [ 'X-Stormwind-Guard' => 'King\'s honor friend', diff --git a/src/Horde.php b/src/Horde.php index a9b4da1..f93c57f 100644 --- a/src/Horde.php +++ b/src/Horde.php @@ -4,7 +4,7 @@ final class Horde { - public static function headers() + public static function headers(): array { return [ 'X-Horde' => 'For the Horde!',