minor #11067 [Stopwatch] Added return type to Stopwatch::getSections() (umpirsky)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[Stopwatch] Added return type to Stopwatch::getSections()

https://github.com/symfony/symfony/pull/10851#discussion_r13479016

Commits
-------

ab00361 Added return type to Stopwatch::getSections()
This commit is contained in:
Fabien Potencier 2014-06-11 15:30:39 +02:00
commit 81f5cc91cb
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ class Stopwatch
$this->sections = $this->activeSections = array('__root__' => new Section('__root__'));
}
/**
* @return Section[]
*/
public function getSections()
{
return $this->sections;