From e5357f2c8a351b0caecc83cfd4244d117bb26ae8 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Mon, 3 Feb 2020 16:07:38 -0600 Subject: [PATCH] Add missing native type hints to test method --- .../Provider/Node/SystemNodeProviderTest.php | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/Provider/Node/SystemNodeProviderTest.php b/tests/Provider/Node/SystemNodeProviderTest.php index 384c0c6..ae6accd 100644 --- a/tests/Provider/Node/SystemNodeProviderTest.php +++ b/tests/Provider/Node/SystemNodeProviderTest.php @@ -580,20 +580,20 @@ class SystemNodeProviderTest extends TestCase * * Provide a NULL to assert a function is never called. * - * @param string[]|array[]|null $fileGetContentsAssert - * @param string[]|array[]|null $globBodyAssert - * @param string[]|array[]|null $passthruBodyAssert - * @param string[]|array[]|null $constantBodyAssert - * @param string[]|array[]|null $iniGetDisableFunctionsAssert - * @param string[]|array[]|null $isReadableAssert + * @param string[]|null $fileGetContentsAssert + * @param string[]|null $globBodyAssert + * @param string[]|null $passthruBodyAssert + * @param string[]|null $constantBodyAssert + * @param string[]|null $iniGetDisableFunctionsAssert + * @param string[]|null $isReadableAssert */ private function assertMockFunctions( - $fileGetContentsAssert, - $globBodyAssert, - $passthruBodyAssert, - $constantBodyAssert, - $iniGetDisableFunctionsAssert, - $isReadableAssert = null + ?array $fileGetContentsAssert, + ?array $globBodyAssert, + ?array $passthruBodyAssert, + ?array $constantBodyAssert, + ?array $iniGetDisableFunctionsAssert, + ?array $isReadableAssert = null ): void { $mockFunctionAsserts = [ self::MOCK_FILE_GET_CONTENTS => $fileGetContentsAssert,