Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkasemmler committed Feb 26, 2024
1 parent 4a5df45 commit 7e78b4c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/php-datatypes/src/Definition/Snowflake.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@

class Snowflake extends Common
{
public const TYPES_WITH_COMPLEX_LENGTH = [self::TYPE_NUMBER, self::TYPE_DECIMAL, self::TYPE_DEC, self::TYPE_NUMERIC];
public const TYPES_WITH_COMPLEX_LENGTH = [
self::TYPE_NUMBER,
self::TYPE_DECIMAL,
self::TYPE_DEC,
self::TYPE_NUMERIC,
];
public const METADATA_BACKEND = 'snowflake';
public const TYPE_NUMBER = 'NUMBER';
public const TYPE_DEC = 'DEC';
Expand Down Expand Up @@ -55,7 +60,6 @@ class Snowflake extends Common
public const TYPE_ARRAY = 'ARRAY';
public const TYPE_GEOGRAPHY = 'GEOGRAPHY';
public const TYPE_GEOMETRY = 'GEOMETRY';

public const TYPES = [
self::TYPE_NUMBER,
self::TYPE_DEC,
Expand Down Expand Up @@ -100,7 +104,6 @@ class Snowflake extends Common
self::TYPE_GEOGRAPHY,
self::TYPE_GEOMETRY,
];

public const MAX_VARCHAR_LENGTH = 16777216;
public const MAX_VARBINARY_LENGTH = 8388608;

Expand Down Expand Up @@ -131,7 +134,6 @@ public function __construct(string $type, array $options = [])
parent::__construct($type, $options);
}


public function getTypeOnlySQLDefinition(): string
{
$out = $this->getType();
Expand Down

0 comments on commit 7e78b4c

Please sign in to comment.