Skip to content

Commit

Permalink
Merge pull request #11748 from davidyell/patch-5
Browse files Browse the repository at this point in the history
Change to class constant
  • Loading branch information
ADmad committed Feb 22, 2018
2 parents 2986763 + af91bb4 commit 9bd900b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Datasource/QueryTrait.php
Expand Up @@ -17,6 +17,7 @@
use BadMethodCallException;
use Cake\Collection\Iterator\MapReduce;
use Cake\Datasource\Exception\RecordNotFoundException;
use Cake\Datasource\ResultSetDecorator;

/**
* Contains the characteristics for an object that is attached to a repository and
Expand Down Expand Up @@ -526,6 +527,6 @@ protected function _decorateResults($result)
*/
protected function _decoratorClass()
{
return 'Cake\Datasource\ResultSetDecorator';
return ResultSetDecorator::class;
}
}

0 comments on commit 9bd900b

Please sign in to comment.