Skip to content

Commit

Permalink
Fix namespaces for DataObject
Browse files Browse the repository at this point in the history
  • Loading branch information
griselta authored Sep 10, 2018
1 parent 9c00588 commit adad86a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Repository/FolderRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
namespace FixtureBundle\Repository;


use Pimcore\Model\Object;
use Pimcore\Model\Object\AbstractObject;
use Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\AbstractObject;

class FolderRepository
{
Expand All @@ -21,7 +21,7 @@ class FolderRepository
*/
public function getFoldersByQuery($query = null)
{
$folders = new Object\Listing();
$folders = new DataObject\Listing();
$folders->setObjectTypes([AbstractObject::OBJECT_TYPE_FOLDER]);

if ($query) {
Expand Down

0 comments on commit adad86a

Please sign in to comment.