@@ -72,12 +72,12 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * Maps types with length if set. |
|
76 | - * |
|
77 | - * @param string $type |
|
78 | - * @param int|null $length |
|
79 | - * @return string |
|
80 | - */ |
|
75 | + * Maps types with length if set. |
|
76 | + * |
|
77 | + * @param string $type |
|
78 | + * @param int|null $length |
|
79 | + * @return string |
|
80 | + */ |
|
81 | 81 | protected function type_mapper( string $type, ?int $length, ?int $precision ): string { |
82 | 82 | $type = strtoupper( $type ); |
83 | 83 | switch ( $type ) { |
@@ -139,13 +139,13 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * Parses the primary key from the defined schema. |
|
143 | - * |
|
144 | - * This should only return an array with a single value if any. |
|
145 | - * |
|
146 | - * @param \PinkCrab\Table_Builder\Schema $schema |
|
147 | - * @return array<string> |
|
148 | - */ |
|
142 | + * Parses the primary key from the defined schema. |
|
143 | + * |
|
144 | + * This should only return an array with a single value if any. |
|
145 | + * |
|
146 | + * @param \PinkCrab\Table_Builder\Schema $schema |
|
147 | + * @return array<string> |
|
148 | + */ |
|
149 | 149 | protected function transform_primary( Schema $schema ): array { |
150 | 150 | return array_map( |
151 | 151 | function( $index ) { |