Skip to content

Commit

Permalink
Lint code [API-384]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Aug 9, 2023
1 parent f65e401 commit a5507c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/Http/Middleware/ResolvePageRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class ResolvePageRedirect
*/
public function handle(Request $request, Closure $next)
{

$slug = strtolower($request->path());

if ($slug === "/") {
Expand Down
2 changes: 1 addition & 1 deletion app/Presenters/Admin/ExhibitionPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function position()
return $item->datahub_id == $this->entity->datahub_id;
});

return $featurePos !== false ? $featurePos : ($listingPos !== false ? $listingPos+2 : -1);
return $featurePos !== false ? $featurePos : ($listingPos !== false ? $listingPos + 2 : -1);
}

public function exhibitionType()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
use Illuminate\Support\Str;
?>

{{-- There are a few things happening here that may be worth refactoring at some point:
Expand Down

0 comments on commit a5507c0

Please sign in to comment.