From c7b556858d560f787f04a290633a10469b86f7a4 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Sep 2021 08:54:36 +0800 Subject: [PATCH] Match docblock to defined param name. The mismatch triggers symfonys debug class loader with: ``` 1x: The "Vfs\Node\Factory\NodeFactory::buildFileLink()" method will require a new "FileInterface $file" argument in the next major version of its interface "Vfs\Node\Factory\NodeFactoryInterface", not defining it is deprecated. 1x in BundleManagerTest::setUp from App\Tests\Unit\Console ``` --- src/Node/Factory/NodeFactoryInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Node/Factory/NodeFactoryInterface.php b/src/Node/Factory/NodeFactoryInterface.php index 9ab3a05..6f250e7 100644 --- a/src/Node/Factory/NodeFactoryInterface.php +++ b/src/Node/Factory/NodeFactoryInterface.php @@ -35,7 +35,7 @@ public function buildDirectoryLink(NodeContainerInterface $target); public function buildFile($content = ''); /** - * @param FileInterface $file + * @param FileInterface $target * @return LinkInterface */ public function buildFileLink(FileInterface $target);