Skip to content

Commit

Permalink
chore: contextualize has legacy attributes trait
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielgomes94 committed Oct 18, 2023
1 parent c49b90f commit 697afc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/LegacyRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Mongolid\Cursor\CursorInterface;
use Mongolid\DataMapper\DataMapper;
use Mongolid\Model\Exception\NoCollectionNameException;
use Mongolid\Model\HasLegacyAttributesTrait;
use Mongolid\Model\Attributes\HasLegacyAttributesTrait;
use Mongolid\Model\HasLegacyRelationsTrait;
use Mongolid\Model\ModelInterface;
use Mongolid\Query\ModelMapper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Mongolid\Model;
namespace Mongolid\Model\Attributes;

use Mongolid\Model\Attributes\HasAttributesInterface;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/LegacyRecordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Mongolid\Container\Container;
use Mongolid\Cursor\CursorInterface;
use Mongolid\Model\Exception\NoCollectionNameException;
use Mongolid\Model\HasLegacyAttributesTrait;
use Mongolid\Model\Attributes\HasLegacyAttributesTrait;
use Mongolid\Model\HasLegacyRelationsTrait;
use Mongolid\Schema\Schema;
use stdClass;
Expand Down

0 comments on commit 697afc3

Please sign in to comment.