Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Dec 21, 2024
1 parent 3746800 commit effe826
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 88 deletions.
37 changes: 0 additions & 37 deletions src/controller/applications.php

This file was deleted.

36 changes: 0 additions & 36 deletions src/controller/bookmarks.php

This file was deleted.

14 changes: 0 additions & 14 deletions src/controller/flame.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/model/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function get_list(){
public function set_sorting($sorting){
$this->sorting = $sorting;
$sorted = $this->app_list['apps'];
usort($sorted, function($a, $b, ) { //Sort the array using a user defined function
usort($sorted, function($a, $b ) { //Sort the array using a user defined function
return $a[$this->sorting] > $b[$this->sorting] ? 1 : -1; //Compare the scores
});
$this->app_list['apps'] = $sorted;
Expand Down

0 comments on commit effe826

Please sign in to comment.