Skip to content

Commit

Permalink
Merge pull request #869 from hydephp/fix-type-annotations-in-views
Browse files Browse the repository at this point in the history
Add spaces to type annotations in views so they don't get rendered as comments
  • Loading branch information
caendesilva authored Jan 23, 2023
2 parents 3834c84 + 8e41051 commit eb20d77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@php/** @var \Hyde\Framework\Features\Navigation\DocumentationSidebar $sidebar */@endphp
@php /** @var \Hyde\Framework\Features\Navigation\DocumentationSidebar $sidebar */ @endphp
<ul id="sidebar-navigation" role="list">
@foreach ($sidebar->getGroups() as $group)
<li class="sidebar-group mb-4 mt-4 first:mt-0" role="listitem">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@php/** @var \Hyde\Framework\Features\Navigation\DocumentationSidebar $sidebar */@endphp
@php /** @var \Hyde\Framework\Features\Navigation\DocumentationSidebar $sidebar */ @endphp
<ul id="sidebar-navigation" role="list">
@foreach ($sidebar->items as $item)
<li @class(['sidebar-navigation-item -ml-4 pl-4' , 'active bg-black/5 dark:bg-black/10'=> $item->route->getRouteKey() === $currentRoute->getRouteKey()])>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@php/** @var \Hyde\Framework\Features\Paginator $paginator */@endphp
@php /** @var \Hyde\Framework\Features\Paginator $paginator */ @endphp
<nav class="flex justify-center mt-4">
@if($paginator->previous())
<x-link :href="$paginator->previous()">&#8249;</x-link>
Expand Down

0 comments on commit eb20d77

Please sign in to comment.