Skip to content

Commit 198c6b2

Browse files
committed
Remove unncessary elements from array
It looks like this function is not used anywhere so this probably doesn't require any other amendments. Signed-off-by: Kamil Tekiela <[email protected]>
1 parent 671624d commit 198c6b2

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

src/Utils/Routine.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ public static function getReturnType($param): array
3737
'',
3838
'',
3939
'',
40-
'',
41-
'',
4240
];
4341
}
4442

@@ -48,8 +46,6 @@ public static function getReturnType($param): array
4846
}
4947

5048
return [
51-
'',
52-
'',
5349
$type->name,
5450
implode(',', $type->parameters),
5551
implode(' ', $options),

tests/Utils/RoutineTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,11 @@ public static function getReturnTypeProvider(): array
3333
'',
3434
'',
3535
'',
36-
'',
37-
'',
3836
],
3937
],
4038
[
4139
'TEXT',
4240
[
43-
'',
44-
'',
4541
'TEXT',
4642
'',
4743
'',
@@ -50,8 +46,6 @@ public static function getReturnTypeProvider(): array
5046
[
5147
'INT(20)',
5248
[
53-
'',
54-
'',
5549
'INT',
5650
'20',
5751
'',
@@ -60,8 +54,6 @@ public static function getReturnTypeProvider(): array
6054
[
6155
'INT UNSIGNED',
6256
[
63-
'',
64-
'',
6557
'INT',
6658
'',
6759
'UNSIGNED',
@@ -70,8 +62,6 @@ public static function getReturnTypeProvider(): array
7062
[
7163
'VARCHAR(1) CHARSET utf8',
7264
[
73-
'',
74-
'',
7565
'VARCHAR',
7666
'1',
7767
'utf8',
@@ -80,8 +70,6 @@ public static function getReturnTypeProvider(): array
8070
[
8171
'ENUM(\'a\', \'b\') CHARSET latin1',
8272
[
83-
'',
84-
'',
8573
'ENUM',
8674
'\'a\',\'b\'',
8775
'latin1',
@@ -90,8 +78,6 @@ public static function getReturnTypeProvider(): array
9078
[
9179
'DECIMAL(5,2) UNSIGNED ZEROFILL',
9280
[
93-
'',
94-
'',
9581
'DECIMAL',
9682
'5,2',
9783
'UNSIGNED ZEROFILL',
@@ -100,8 +86,6 @@ public static function getReturnTypeProvider(): array
10086
[
10187
'SET(\'test\'\'esc"\', \'more\\\'esc\')',
10288
[
103-
'',
104-
'',
10589
'SET',
10690
'\'test\'\'esc"\',\'more\\\'esc\'',
10791
'',

0 commit comments

Comments
 (0)