Skip to content

Commit

Permalink
Applied fixes from StyleCI (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Aug 2, 2016
1 parent b9733c5 commit 89af708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/ModelManager.php
Expand Up @@ -47,7 +47,7 @@ public function getMetadata($class)
* Returns the model's metadata holding the fully qualified property, and the last
* property name.
*
* @param string $baseClass The base class of the model holding the fully qualified property.
* @param string $baseClass The base class of the model holding the fully qualified property
* @param string $propertyFullName The name of the fully qualified property (dot ('.') separated
* property string)
*
Expand Down Expand Up @@ -380,7 +380,7 @@ public function getSortParameters(FieldDescriptionInterface $fieldDescription, D
$values['_sort_order'] = 'ASC';
}

$values['_sort_by'] = is_string($fieldDescription->getOption('sortable')) ? $fieldDescription->getOption('sortable') : $fieldDescription->getName();
$values['_sort_by'] = is_string($fieldDescription->getOption('sortable')) ? $fieldDescription->getOption('sortable') : $fieldDescription->getName();

return array('filter' => $values);
}
Expand Down

0 comments on commit 89af708

Please sign in to comment.