Skip to content

Commit

Permalink
Add typehint for TranslateBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Sep 20, 2014
1 parent 6738d95 commit b1f50e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/TranslateBehavior.php
Expand Up @@ -131,7 +131,7 @@ public function setupFieldAssociations($fields, $table) {
* @param \Cake\ORM\Query $query Query
* @return void
*/
public function beforeFind(Event $event, $query) {
public function beforeFind(Event $event, Query $query) {
$locale = $this->locale();

if ($locale === $this->config('defaultLocale')) {
Expand Down

0 comments on commit b1f50e5

Please sign in to comment.