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:
commit
81f5cc91cb
@ -33,6 +33,9 @@ class Stopwatch
|
|||||||
$this->sections = $this->activeSections = array('__root__' => new Section('__root__'));
|
$this->sections = $this->activeSections = array('__root__' => new Section('__root__'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Section[]
|
||||||
|
*/
|
||||||
public function getSections()
|
public function getSections()
|
||||||
{
|
{
|
||||||
return $this->sections;
|
return $this->sections;
|
||||||
|
Reference in New Issue
Block a user