Skip to content

Commit 70637fb

Browse files
committed
fix: linting back to main
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent 0575110 commit 70637fb

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

app/Http/Controllers/Apis/Protected/Summit/OAuth2SummitsTicketTypesApiController.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<?php
2-
namespace App\Http\Controllers;
1+
<?php namespace App\Http\Controllers;
32
/**
43
* Copyright 2018 OpenStack Foundation
54
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -416,10 +415,10 @@ function () {
416415
'description' => ['=@', '@@', '=='],
417416
'external_id' => ['=@', '@@', '=='],
418417
'audience' => ['=@', '@@', '=='],
419-
'sales_start_date' => ['>', '<', '<=', '>=', '==', '[]'],
420-
'sales_end_date' => ['>', '<', '<=', '>=', '==', '[]'],
421-
'created' => ['>', '<', '<=', '>=', '==', '[]'],
422-
'last_edited' => ['>', '<', '<=', '>=', '==', '[]'],
418+
'sales_start_date'=> ['>', '<', '<=', '>=', '==','[]'],
419+
'sales_end_date'=> ['>', '<', '<=', '>=', '==','[]'],
420+
'created'=> ['>', '<', '<=', '>=', '==','[]'],
421+
'last_edited'=> ['>', '<', '<=', '>=', '==','[]'],
423422
'allows_to_delegate' => ['=='],
424423
];
425424
},
@@ -713,8 +712,7 @@ public function updateTicketTypeBySummit($summit_id, $ticket_type_id)
713712
return $this->processRequest(function () use ($summit_id, $ticket_type_id) {
714713

715714
$summit = SummitFinderStrategyFactory::build($this->summit_repository, $this->resource_server_context)->find($summit_id);
716-
if (is_null($summit))
717-
return $this->error404();
715+
if (is_null($summit)) return $this->error404();
718716

719717
$payload = $this->getJsonPayload(SummitTicketTypeValidationRulesFactory::buildForUpdate());
720718

@@ -769,7 +767,7 @@ public function deleteTicketTypeBySummit($summit_id, $ticket_type_id)
769767
return $this->processRequest(function () use ($summit_id, $ticket_type_id) {
770768

771769
$summit = SummitFinderStrategyFactory::build($this->summit_repository, $this->resource_server_context)->find($summit_id);
772-
if (is_null($summit))return $this->error404();
770+
if (is_null($summit)) return $this->error404();
773771

774772
$this->ticket_type_service->deleteTicketType($summit, $ticket_type_id);
775773

@@ -815,7 +813,7 @@ public function seedDefaultTicketTypesBySummit($summit_id)
815813
return $this->processRequest(function () use ($summit_id) {
816814

817815
$summit = SummitFinderStrategyFactory::build($this->summit_repository, $this->resource_server_context)->find($summit_id);
818-
if (is_null($summit))return $this->error404();
816+
if (is_null($summit)) return $this->error404();
819817

820818
$ticket_types = $this->ticket_type_service->seedSummitTicketTypesFromEventBrite($summit);
821819

0 commit comments

Comments
 (0)