Skip to content

Commit

Permalink
fix(core): use OC namespace for core ReponseDefinitions instead of OCA
Browse files Browse the repository at this point in the history
Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
  • Loading branch information
Julien CHATY-CAPELLE committed May 26, 2024
1 parent ae4a6e8 commit 5ba2d6d
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion core/Controller/AutoCompleteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
namespace OC\Core\Controller;

use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/ClientFlowLoginV2Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use OC\Core\Db\LoginFlowV2;
use OC\Core\Exception\LoginFlowV2NotFoundException;
use OC\Core\Service\LoginFlowV2Service;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\FrontpageRoute;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/CollaborationResourcesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
namespace OC\Core\Controller;

use Exception;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/HoverCardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace OC\Core\Controller;

use OC\Contacts\ContactsMenu\Manager;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/NavigationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
namespace OC\Core\Controller;

use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/ReferenceApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

namespace OC\Core\Controller;

use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/TaskProcessingApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

namespace OC\Core\Controller;

use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/TeamsApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

namespace OC\Core\Controller;

use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/TextProcessingApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
namespace OC\Core\Controller;

use InvalidArgumentException;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/TextToImageApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
namespace OC\Core\Controller;

use OC\Files\AppData\AppData;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\AnonRateLimit;
use OCP\AppFramework\Http\Attribute\ApiRoute;
Expand Down
2 changes: 1 addition & 1 deletion core/Controller/UnifiedSearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
use OC\Search\SearchComposer;
use OC\Search\SearchQuery;
use OC\Search\UnsupportedFilter;
use OCA\Core\ResponseDefinitions;
use OC\Core\ResponseDefinitions;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\ApiRoute;
use OCP\AppFramework\Http\DataResponse;
Expand Down
2 changes: 1 addition & 1 deletion core/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
*/

namespace OCA\Core;
namespace OC\Core;

/**
* @psalm-type CoreLoginFlowV2Credentials = array{
Expand Down

0 comments on commit 5ba2d6d

Please sign in to comment.