Merge pull request #57 from DeepDiver1975/scrutinizer-patch-1
Scrutinizer Auto-Fixes
This commit is contained in:
commit
c118aa5042
7 changed files with 24 additions and 21 deletions
|
@ -11,9 +11,9 @@
|
|||
|
||||
namespace OCA\Tasks;
|
||||
|
||||
use OCP\AppFramework\IAppContainer,
|
||||
OCP\AppFramework\Controller as BaseController,
|
||||
OCP\IRequest;
|
||||
use OCP\AppFramework\IAppContainer;
|
||||
use OCP\AppFramework\Controller as BaseController;
|
||||
use OCP\IRequest;
|
||||
|
||||
/**
|
||||
* Base Controller class for Issues App
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
namespace OCA\Tasks\Controller;
|
||||
|
||||
use OCA\Tasks\Controller,
|
||||
OCP\AppFramework\Http\JSONResponse;
|
||||
use OCA\Tasks\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
||||
class CollectionsController extends Controller {
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
namespace OCA\Tasks\Controller;
|
||||
|
||||
use OCA\Tasks\Controller,
|
||||
OCP\AppFramework\Http\JSONResponse;
|
||||
use OCA\Tasks\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
||||
class ListsController extends Controller {
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
namespace OCA\Tasks\Controller;
|
||||
|
||||
use OCA\Tasks\Controller,
|
||||
OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCA\Tasks\Controller;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
namespace OCA\Tasks\Controller;
|
||||
|
||||
use OCA\Tasks\Controller,
|
||||
OCP\AppFramework\Http\JSONResponse;
|
||||
use OCA\Tasks\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
||||
class SettingsController extends Controller {
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
|
||||
namespace OCA\Tasks\Controller;
|
||||
|
||||
use OCA\Tasks\Controller,
|
||||
OCA\Tasks\Helper,
|
||||
OCP\AppFramework\Http\JSONResponse;
|
||||
use OCA\Tasks\Controller;
|
||||
use OCA\Tasks\Helper;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
||||
class TasksController extends Controller {
|
||||
|
||||
|
@ -69,6 +69,9 @@ class TasksController extends Controller {
|
|||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param boolean $isStarred
|
||||
*/
|
||||
private function setStarred($isStarred){
|
||||
$taskId = (int) $this->params('taskID');
|
||||
try {
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
namespace OCA\Tasks;
|
||||
|
||||
use OCP\AppFramework\App as MainApp,
|
||||
OCP\AppFramework\IAppContainer,
|
||||
OCA\Tasks\Controller\PageController,
|
||||
OCA\Tasks\Controller\CollectionsController,
|
||||
OCA\Tasks\Controller\ListsController,
|
||||
OCA\Tasks\Controller\TasksController,
|
||||
OCA\Tasks\Controller\SettingsController;
|
||||
use OCP\AppFramework\App as MainApp;
|
||||
use OCP\AppFramework\IAppContainer;
|
||||
use OCA\Tasks\Controller\PageController;
|
||||
use OCA\Tasks\Controller\CollectionsController;
|
||||
use OCA\Tasks\Controller\ListsController;
|
||||
use OCA\Tasks\Controller\TasksController;
|
||||
use OCA\Tasks\Controller\SettingsController;
|
||||
|
||||
/**
|
||||
* This class manages our app actions
|
||||
|
|
Loading…
Reference in a new issue