From 4fccddebb0427e9f573de9de611c2c8bf6cb9594 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Fri, 17 Feb 2023 20:55:06 +0000 Subject: [PATCH] style: removes non important note --- src/Repositories/TestRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repositories/TestRepository.php b/src/Repositories/TestRepository.php index e2221e16..93fd2338 100644 --- a/src/Repositories/TestRepository.php +++ b/src/Repositories/TestRepository.php @@ -82,7 +82,7 @@ final class TestRepository $this->uses[$path] = [ [...$this->uses[$path][0], ...$classOrTraits], [...$this->uses[$path][1], ...$groups], - $this->uses[$path][2] + $hooks, // NOTE: array_merge will destroy numeric indices + $this->uses[$path][2] + $hooks, ]; } else { $this->uses[$path] = [$classOrTraits, $groups, $hooks];