From 784e1f8906b44b45e49904a0e3a16fc221aec219 Mon Sep 17 00:00:00 2001 From: Joseph Silber Date: Sat, 20 Feb 2016 22:43:35 -0500 Subject: [PATCH] Remove the array type hint --- src/Clipboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Clipboard.php b/src/Clipboard.php index 0b13250d..0411ee02 100644 --- a/src/Clipboard.php +++ b/src/Clipboard.php @@ -27,7 +27,7 @@ class Clipboard */ public function registerAt(Gate $gate) { - $gate->before(function ($user, $ability, array $arguments, $additional = null) { + $gate->before(function ($user, $ability, $arguments, $additional = null) { list($model, $additional) = $this->parseGateArguments($arguments, $additional); if ( ! is_null($additional)) {