8000 Update data_collector.rst · symfony/symfony-docs@eaec470 · GitHub
[go: up one dir, main page]

Skip to content

Commit eaec470

Browse files
authored
Update data_collector.rst
I removed the DataCollector class import because it has been replaced with the AbstractDataCollector class. This commit also fixes a small grammar issue.
1 parent 0acd735 commit eaec470

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

profiler/data_collector.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ request::
3131
use Symfony\Bundle\FrameworkBundle\DataCollector\AbstractDataCollector;
3232
use Symfony\Component\HttpFoundation\Request;
3333
use Symfony\Component\HttpFoundation\Response;
34-
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
3534

3635
class RequestCollector extends AbstractDataCollector
3736
{
@@ -44,7 +43,7 @@ request::
4443
}
4544
}
4645

47-
These are the method that you can define in the data collector class:
46+
These are the methods that you can define in the data collector class:
4847

4948
:method:`Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface::collect` method:
5049
Stores the collected data in local properties (``$this->data`` if you extend

0 commit comments

Comments
 (0)
0