Skip to content

Commit 8b33721

Browse files
committed
Revert src/Types/IntIdType.php
1 parent 9602bdd commit 8b33721

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

src/Mapping/ClassMetadata.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,14 +2161,6 @@ public function isIdGeneratorIncrement(): bool
21612161
return $this->generatorType === self::GENERATOR_TYPE_INCREMENT;
21622162
}
21632163

2164-
/**
2165-
* Checks whether the class will generate a uuid id.
2166-
*/
2167-
public function isIdGeneratorUuid(): bool
2168-
{
2169-
return $this->generatorType === self::GENERATOR_TYPE_UUID;
2170-
}
2171-
21722164
/**
21732165
* Checks whether the class uses no id generator.
21742166
*/

src/Types/IntIdType.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Doctrine\ODM\MongoDB\Types;
6+
7+
/**
8+
* The Integer Id type.
9+
*
10+
* @deprecated IntIdType was deprecated in doctrine/mongodb-odm 2.1 and will be removed in 3.0. Use IntType instead.
11+
*/
12+
class IntIdType extends IntType
13+
{
14+
}

0 commit comments

Comments
 (0)