Skip to content

Commit

Permalink
Merge branch '2.3' into 2.4
Browse files Browse the repository at this point in the history
* 2.3:
  fixed various inconsistencies
  reduced recursion when building DumperPrefixCollection
  renamed variables - making next change more readable
  removing dead code.
  [DomCrawler] Fixed filterXPath() chaining
  [DomCrawler] Fixed incorrect handling of image inputs

Conflicts:
	src/Symfony/Component/DomCrawler/Crawler.php
	src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
	src/Symfony/Component/Form/Extension/DependencyInjection/DependencyInjectionExtension.php
	src/Symfony/Component/Serializer/Tests/Normalizer/CustomNormalizerTest.php
	src/Symfony/Component/Templating/Tests/Loader/CacheLoaderTest.php
	src/Symfony/Component/Templating/Tests/Loader/LoaderTest.php
  • Loading branch information
fabpot committed Feb 11, 2014
2 parents 62f7541 + 01dd0e7 commit bffad32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion StopwatchEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ public function getStartTime()
*/
public function getEndTime()
{
return ($count = count($this->periods)) ? $this->periods[$count - 1]->getEndTime() : 0;
$count = count($this->periods);

return $count ? $this->periods[$count - 1]->getEndTime() : 0;
}

/**
Expand Down

0 comments on commit bffad32

Please sign in to comment.