minor #19659 [HttpKernel] Remove wrong docblock (nicolas-grekas)
This PR was merged into the 2.7 branch.
Discussion
----------
[HttpKernel] Remove wrong docblock
| Q | A
| ------------- | ---
| Branch? | 2.7
| Tests pass? | yes
| License | MIT
The doc block must come from a bad merge...
Meanwhile, let's group "count*" methods together.
Commits
-------
1972a8f
[HttpKernel] Remove wrong docblock
This commit is contained in:
commit
56cdaf96d6
@ -50,18 +50,6 @@ class LoggerDataCollector extends DataCollector implements LateDataCollectorInte
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the called events.
|
|
||||||
*
|
|
||||||
* @return array An array of called events
|
|
||||||
*
|
|
||||||
* @see TraceableEventDispatcherInterface
|
|
||||||
*/
|
|
||||||
public function countErrors()
|
|
||||||
{
|
|
||||||
return isset($this->data['error_count']) ? $this->data['error_count'] : 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the logs.
|
* Gets the logs.
|
||||||
*
|
*
|
||||||
@ -77,6 +65,11 @@ class LoggerDataCollector extends DataCollector implements LateDataCollectorInte
|
|||||||
return isset($this->data['priorities']) ? $this->data['priorities'] : array();
|
return isset($this->data['priorities']) ? $this->data['priorities'] : array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function countErrors()
|
||||||
|
{
|
||||||
|
return isset($this->data['error_count']) ? $this->data['error_count'] : 0;
|
||||||
|
}
|
||||||
|
|
||||||
public function countDeprecations()
|
public function countDeprecations()
|
||||||
{
|
{
|
||||||
return isset($this->data['deprecation_count']) ? $this->data['deprecation_count'] : 0;
|
return isset($this->data['deprecation_count']) ? $this->data['deprecation_count'] : 0;
|
||||||
|
Reference in New Issue
Block a user