Skip to content

Commit

Permalink
Merge pull request #3 from dodo-it/php81
Browse files Browse the repository at this point in the history
allow entity-generator 2.0
  • Loading branch information
dakorpar authored Jul 14, 2022
2 parents c14b756 + 9c56e0b commit fa9dc6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,16 @@
}
},
"require": {
"php": "^7.1|^8.0",
"dodo-it/entity-generator": "^1.0",
"php": "^8.0",
"dodo-it/entity-generator": "~2.0",
"dibi/dibi": "^4.0",
"nette/di": "^2.4 | ^3.0"
"nette/di": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0"
}, "minimum-stability": "dev",
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "1.2.x-dev"
"dev-master": "2.1.x-dev"
}
}

Expand Down
5 changes: 1 addition & 4 deletions src/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ class GenerateCommand extends Command
*/
protected static $defaultName = 'entity:generate';

/**
* @var Generator
*/
private $generator;
private Generator $generator;

public function __construct(Generator $generator)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Repository/DibiRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
class DibiRepository implements IRepository
{
/**
* @var Connection
* @var
*/
private $db;
private Connection $db;


public function __construct(Connection $db)
Expand Down

0 comments on commit fa9dc6e

Please sign in to comment.