Skip to content
Permalink
Browse files

Fixing CS errors

  • Loading branch information...
lorenzo committed Mar 6, 2016
1 parent 0530820 commit 79930f10ad1c23ae0dcee5a476dc68c880cd7c6b
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/ORM/Association/SelectableAssociationTrait.php
@@ -119,7 +119,7 @@ protected function _buildQuery($options)
* has the foreignKey fields selected.
* If the required fields are missing, throws an exception.
*
* @param \Cake\ORM\Query The association fetching query
* @param \Cake\ORM\Query $fetchQuery The association fetching query
* @param array $key The foreign key fields to check
* @return void
* @throws InvalidArgumentException
@@ -140,9 +140,11 @@ protected function _assertFieldsPresent($fetchQuery, $key)
if ($missingFields) {
throw new InvalidArgumentException(
sprintf('You are required to select the "%s" field(s)',
implode(', ', (array)$key)
));
sprintf(
'You are required to select the "%s" field(s)',
implode(', ', (array)$key)
)
);
}
}

0 comments on commit 79930f1

Please sign in to comment.
You can’t perform that action at this time.