mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-11 19:04:31 +02:00
Moved doctrine custom type definitions to Doctrine\Types namespace
This commit is contained in:
parent
e60f0f0571
commit
f62937096f
3 changed files with 5 additions and 5 deletions
|
@ -8,11 +8,11 @@ doctrine:
|
||||||
|
|
||||||
types:
|
types:
|
||||||
datetime:
|
datetime:
|
||||||
class: App\Helpers\UTCDateTimeType
|
class: App\Doctrine\Types\UTCDateTimeType
|
||||||
date:
|
date:
|
||||||
class: App\Helpers\UTCDateTimeType
|
class: App\Doctrine\Types\UTCDateTimeType
|
||||||
big_decimal:
|
big_decimal:
|
||||||
class: App\Helpers\BigDecimalType
|
class: App\Doctrine\Types\BigDecimalType
|
||||||
|
|
||||||
schema_filter: ~^(?!internal)~
|
schema_filter: ~^(?!internal)~
|
||||||
# Only enable this when needed
|
# Only enable this when needed
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Helpers;
|
namespace App\Doctrine\Types;
|
||||||
|
|
||||||
use Brick\Math\BigDecimal;
|
use Brick\Math\BigDecimal;
|
||||||
use Brick\Math\BigNumber;
|
use Brick\Math\BigNumber;
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace App\Helpers;
|
namespace App\Doctrine\Types;
|
||||||
|
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use DateTimeZone;
|
use DateTimeZone;
|
Loading…
Add table
Add a link
Reference in a new issue