Skip to content

Commit

Permalink
fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 27, 2017
1 parent 94aef22 commit f7eb797
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -28,11 +28,7 @@ protected function extractObjectToPopulate($class, array $context, $key = null)
{
$key = $key ?: 'object_to_populate';

if (
isset($context[$key]) &&
is_object($context[$key]) &&
$context[$key] instanceof $class
) {
if (isset($context[$key]) && is_object($context[$key]) && $context[$key] instanceof $class) {
return $context[$key];
}

Expand Down

0 comments on commit f7eb797

Please sign in to comment.