mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-03-17 13:09:43 +01:00
rename function selectionSorting
to selectionSort
.
- follows the function naming practices in the folder - fixes "undefined function selectionSort" in SortingTest.php - selection sort tests are now passing
This commit is contained in:
parent
4c77cd2ff8
commit
0bfc5b2b75
@ -6,7 +6,7 @@
|
||||
* @param array $array
|
||||
* @return array
|
||||
*/
|
||||
function selectionSorting(array $array)
|
||||
function selectionSort(array $array)
|
||||
{
|
||||
$length = count($array);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user