Code Duplication    Length = 5-5 lines in 2 locations

src/PhpSpreadsheet/Shared/JAMA/Matrix.php 2 locations

@@ 68-72 (lines=5) @@
65
66
                    break;
67
                //Square matrix - n x n
68
                case 'integer':
69
                    $this->m = $args[0];
70
                    $this->n = $args[0];
71
                    $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0));
72
73
                    break;
74
                //Rectangular matrix - m x n
75
                case 'integer,integer':
@@ 75-79 (lines=5) @@
72
73
                    break;
74
                //Rectangular matrix - m x n
75
                case 'integer,integer':
76
                    $this->m = $args[0];
77
                    $this->n = $args[1];
78
                    $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0));
79
80
                    break;
81
                //Rectangular matrix - m x n initialized from packed array
82
                case 'array,integer':