diff --git a/composer.json b/composer.json index 61acd3e..5bd8dfb 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "mcnd/orm", - "description": "An hybrid of Active Record and Data Mapper pattern allowing fdirect queries.", + "name": "mcnd/ulmus", + "description": "An hybrid of Active Record and Data Mapper pattern allowing direct queries.", "type": "library", "license": "MIT", "authors": [ @@ -9,7 +9,15 @@ "email": "mcndave@gmail.com" } ], - "require": {}, + "require": { + "mcnd/notes": "master-dev", + }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/mcNdave/notes.git" + } + ], "autoload": { "psr-4": { "Ulmus\\": "src/" diff --git a/src/EntityTrait.php b/src/EntityTrait.php index 2b0d33b..6965d26 100644 --- a/src/EntityTrait.php +++ b/src/EntityTrait.php @@ -12,6 +12,9 @@ use Ulmus\Annotation\Property\Field\{ Id, ForeignKey, CreatedAt, UpdatedAt, }; trait EntityTrait { + /** + * @Ignore + */ public function entityFillFromDataset($dataset) : self { $fields = Ulmus::resolveEntity(static::class); diff --git a/src/Query/Explain.php b/src/Query/Explain.php index 6bd7df1..40dc447 100644 --- a/src/Query/Explain.php +++ b/src/Query/Explain.php @@ -4,7 +4,7 @@ namespace Ulmus\Query; class Explain extends Fragment { - public int $order = -1000; + public int $order = -1500; public bool $extended = false;