Permalink
Browse files

typo, fix CS

  • Loading branch information...
jaugustin committed May 7, 2012
1 parent a3871cc commit b6820ccef7cfe69de7d3e9b6e5196768bb055ae5
Showing with 2 additions and 2 deletions.
  1. +2 −2 Request/ParamConverter/PropelParamConverter.php
@@ -29,9 +29,9 @@ public function apply(Request $request, ConfigurationInterface $configuration)
// find by Pk
if (in_array('id', $exclude) || false === $object = $this->findPk($classQuery, $request)) {
// find by criteria
- if (false === ($object = $this->findOneBy($classQuery, $request, $exclude))) {
+ if (false === $object = $this->findOneBy($classQuery, $request, $exclude)) {
if ($configuration->isOptional()) {
- //we find nothing but the obejct is optional
+ //we find nothing but the object is optional
$object = null;
} else {
throw new \LogicException('Unable to guess how to get a Propel object from the request information.');

0 comments on commit b6820cc

Please sign in to comment.