add PSR 2 compliance
This commit is contained in:
parent
ef72c00fbb
commit
e4abc5b43f
5 changed files with 18 additions and 24 deletions
|
|
@ -18,17 +18,17 @@
|
|||
|
||||
namespace OCA\SideMenu\Controller;
|
||||
|
||||
use OC;
|
||||
use OC\App\AppStore\Fetcher\CategoryFetcher;
|
||||
use OC\URLGenerator;
|
||||
use OCA\SideMenu\Service\AppRepository;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\IConfig;
|
||||
use OCP\IL10N;
|
||||
use OCP\IRequest;
|
||||
use OCP\L10N\IFactory;
|
||||
use OC\URLGenerator;
|
||||
use OC;
|
||||
use OCP\IUserSession;
|
||||
use OCP\L10N\IFactory;
|
||||
|
||||
class NavController extends Controller
|
||||
{
|
||||
|
|
@ -191,7 +191,7 @@ class NavController extends Controller
|
|||
ksort($items[$category]['apps']);
|
||||
}
|
||||
|
||||
usort($items, function($a, $b) {
|
||||
usort($items, function ($a, $b) {
|
||||
return ($a['name'] < $b['name']) ? -1 : 1;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue