Skip to content

Commit 8e884f1

Browse files
authored
Merge pull request #331 from ryanolton/patch-1
Update DatabaseTypeTask.php to use TypeFactory
2 parents 7a793c9 + 50c299f commit 8e884f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Generator/Task/DatabaseTypeTask.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace IdeHelper\Generator\Task;
44

5-
use Cake\Database\Type;
65
use Cake\Database\TypeFactory;
76
use IdeHelper\Generator\Directive\ExpectedArguments;
87
use IdeHelper\Generator\Directive\Override;
@@ -55,7 +54,7 @@ protected function getTypes(): array {
5554
$types = [];
5655

5756
try {
58-
$allTypes = Type::buildAll();
57+
$allTypes = TypeFactory::buildAll();
5958
} catch (Throwable $exception) {
6059
return $types;
6160
}

0 commit comments

Comments
 (0)