Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit df7321b

Browse files
authored
Create LinkRequest.php
href and text filters
1 parent 4848961 commit df7321b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/NavigationBuilder/Requests/LinkRequest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class LinkRequest extends RequestFilter
1919
];
2020

2121
const SETTERS = [
22-
'href' => 'trim',
23-
'text' => [self::class, 'trimHref'],
22+
'text' => 'trim',
23+
'href' => [self::class, 'trimHref'],
2424
'attributes' => [self::class, 'trimAttributes'],
2525
];
2626

@@ -64,4 +64,4 @@ public function getAttributes(): array
6464
{
6565
return $this->attributes;
6666
}
67-
}
67+
}

0 commit comments

Comments
 (0)