Commit 3bf396c0 authored by meus's avatar meus

fixing example to follow coding standard

parent 8def32d0
......@@ -16,12 +16,12 @@ Perhaps some of your pages is loading slowly. The following shows how to build a
<code type="php">
$time = 0;
foreach($profiler as $event){
foreach ($profiler as $event) {
$time += $event->getElapsedSecs();
echo $event->getName() . " " . sprintf("%f", $event->getElapsedSecs()) . "<br>\n";
echo $event->getQuery() . "<br>\n";
$params = $event->getParams();
if(!empty($params)){
if( ! empty($params)) {
var_dump($params);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment