Skip to content

Commit 1aa41ed

Browse files
Merge branch '4.3' into 4.4
* 4.3: [Form] fix return type on FormDataCollector [Cache][DI] cleanup
2 parents 43739db + cca22c4 commit 1aa41ed

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/Symfony/Component/Cache/Tests/Adapter/AdapterTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Cache\IntegrationTests\CachePoolTest;
1515
use PHPUnit\Framework\Assert;
16-
use PHPUnit\Framework\Warning;
1716
use Psr\Cache\CacheItemInterface;
1817
use Psr\Cache\CacheItemPoolInterface;
1918
use Symfony\Component\Cache\CacheItem;

src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveBindingsPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use PHPUnit\Framework\Warning;
1615
use Symfony\Component\DependencyInjection\Argument\BoundArgument;
1716
use Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass;
1817
use Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass;

src/Symfony/Component/Form/Extension/DataCollector/FormDataCollectorInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Component\Form\FormInterface;
1515
use Symfony\Component\Form\FormView;
1616
use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
17+
use Symfony\Component\VarDumper\Cloner\Data;
1718

1819
/**
1920
* Collects and structures information about forms.
@@ -78,7 +79,7 @@ public function buildFinalFormTree(FormInterface $form, FormView $view);
7879
/**
7980
* Returns all collected data.
8081
*
81-
* @return array
82+
* @return array|Data
8283
*/
8384
public function getData();
8485
}

src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
*/
2929
abstract class DataCollector implements DataCollectorInterface
3030
{
31+
/**
32+
* @var array|Data
33+
*/
3134
protected $data = [];
3235

3336
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy