Skip to content

Commit

Permalink
namespace yii\db\Query
Browse files Browse the repository at this point in the history
Resolves #4208
  • Loading branch information
brandonkelly authored and angrybrad committed May 6, 2019
1 parent 4b0fcfd commit e037021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Fixed an error that could occur when saving a Single section if one of its sites had been disabled.
- Fixed a SQL error that would occur when deleting a site and transferring its content to another if you were using a database table prefix.
- Fixed an error that could occur when deleting a site.
- Fixed a PHP compile error that could occur when paginating a query. ([#4208](https://github.com/craftcms/cms/pull/4208))

## 3.1.25 - 2019-04-40

Expand Down
4 changes: 2 additions & 2 deletions src/db/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use craft\helpers\ArrayHelper;
use yii\base\BaseObject;
use yii\db\Connection as YiiConnection;
use yii\db\Query;
use yii\db\Query as YiiQuery;
use yii\db\QueryInterface;
use yii\di\Instance;

Expand Down Expand Up @@ -57,7 +57,7 @@ class Paginator extends BaseObject
public $pageSize = 100;

/**
* @var QueryInterface|Query The query being paginated
* @var QueryInterface|YiiQuery The query being paginated
*/
protected $query;

Expand Down

0 comments on commit e037021

Please sign in to comment.