mirror of https://github.com/sualko/cloud_bbb
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
parent
18a4a4ebc9
commit
a872bea3dc
|
@ -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(),
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue