@@ -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 ): string { |
82 | 82 | $type = strtoupper( $type ); |
83 | 83 | switch ( $type ) { |
@@ -136,13 +136,13 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * Parses the primary key from the defined schema. |
|
140 | - * |
|
141 | - * This should only return an array with a single value if any. |
|
142 | - * |
|
143 | - * @param \PinkCrab\Table_Builder\Schema $schema |
|
144 | - * @return array<string> |
|
145 | - */ |
|
139 | + * Parses the primary key from the defined schema. |
|
140 | + * |
|
141 | + * This should only return an array with a single value if any. |
|
142 | + * |
|
143 | + * @param \PinkCrab\Table_Builder\Schema $schema |
|
144 | + * @return array<string> |
|
145 | + */ |
|
146 | 146 | protected function transform_primary( Schema $schema ): array { |
147 | 147 | return array_map( |
148 | 148 | function( $index ) { |