cakephp/docs — pull request #1845 by bouksou (2014-10-08 12:27:16+00:00)
Title: Update Behaviors.rst

Add "use Cake\ORM\Query" to "Defining Event Listeners" example code

Prevents from :
Warning (4096): Argument 1 passed to App\Model\Behavior\SluggableBehavior::findSlug() must be an instance of App\Model\Behavior\Query, instance of Cake\ORM\Query given [APP/Model/Behavior/SluggableBehavior.php, line 23]