Permalink
Browse files

Removing some unexpected spaces

  • Loading branch information...
1 parent 6432345 commit 35b304365fc9c12390133731a3b0987114d0708b @JJK801 JJK801 committed Feb 26, 2013
Showing with 8 additions and 8 deletions.
  1. +3 −3 ManagerConfigurator.php
  2. +5 −5 Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
View
6 ManagerConfigurator.php
@@ -15,7 +15,7 @@
namespace Doctrine\Bundle\DoctrineBundle;
use Doctrine\ORM\EntityManager;
-use Doctrine\ORM\Query\Filter\SQLFilter;
+use Doctrine\ORM\Query\Filter\SQLFilter;
/**
* Configurator for an EntityManager
@@ -80,9 +80,9 @@ private function enableFilters(EntityManager $entityManager)
*/
private function setFilterParameters($name, SQLFilter $filter)
{
- if( !empty($this->filtersParameters[$name]) ) {
+ if (!empty($this->filtersParameters[$name])) {
$parameters = $this->filtersParameters[$name];
- foreach( $parameters as $paramName => $paramValue ) {
+ foreach ($parameters as $paramName => $paramValue) {
$filter->setParameter($paramName, $paramValue);
}
}
View
10 Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
@@ -890,12 +890,12 @@ protected function assertDICDefinitionMethodCallCount($definition, $methodName,
if ($call[0] == $methodName) {
if ($called > $nbCalls) {
break;
- } else {
- if (isset($params[$called])) {
- $this->assertEquals($params[$called], $call[1], "Expected parameters to methods '".$methodName."' do not match the actual parameters.");
- }
- $called++;
}
+
+ if (isset($params[$called])) {
+ $this->assertEquals($params[$called], $call[1], "Expected parameters to methods '".$methodName."' do not match the actual parameters.");
+ }
+ $called++;
}
}

0 comments on commit 35b3043

Please sign in to comment.