style(Db,Search,Service): Fix the php files style

I ran "yarn fix".

Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
pull/273/head
Baptiste Fotia 2024-04-26 15:40:55 +02:00
parent 18a4a4ebc9
commit a872bea3dc
3 changed files with 12 additions and 14 deletions

View File

@ -6,7 +6,6 @@ namespace OCA\BigBlueButton\Search;
use OCA\BigBlueButton\AppInfo\Application; use OCA\BigBlueButton\AppInfo\Application;
use OCA\BigBlueButton\Service\RoomService; use OCA\BigBlueButton\Service\RoomService;
use OCA\BigBlueButton\Db\Room;
use OCP\IL10N; use OCP\IL10N;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUser; use OCP\IUser;
@ -14,7 +13,6 @@ use OCP\Search\IProvider;
use OCP\Search\ISearchQuery; use OCP\Search\ISearchQuery;
use OCP\Search\SearchResult; use OCP\Search\SearchResult;
use OCP\Search\SearchResultEntry; use OCP\Search\SearchResultEntry;
use function array_map;
class Provider implements IProvider { class Provider implements IProvider {
/** @var RoomService */ /** @var RoomService */
@ -79,7 +77,7 @@ class Provider implements IProvider {
$results = []; $results = [];
foreach($rooms as $room) { foreach ($rooms as $room) {
$results[] = new SearchResultEntry( $results[] = new SearchResultEntry(
'', '',
$room->getName(), $room->getName(),

View File

@ -14,8 +14,8 @@ use OCP\AppFramework\Db\MultipleObjectsReturnedException;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUser; use OCP\IUser;
use OCP\Security\ISecureRandom;
use OCP\Search\ISearchQuery; use OCP\Search\ISearchQuery;
use OCP\Security\ISecureRandom;
class RoomService { class RoomService {
/** @var RoomMapper */ /** @var RoomMapper */