Skip to content

Commit 5dfb939

Browse files
committed
psalm corrections
1 parent 381b6f9 commit 5dfb939

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

phalcon/Html/Helper/Breadcrumbs.zep

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class Breadcrumbs extends AbstractHelper
4444
private data = [];
4545
/**
4646
* Crumb separator.
47+
*
48+
* @var string
4749
*/
4850
private separator = "<li>/</li>";
4951
/**
@@ -108,8 +110,6 @@ class Breadcrumbs extends AbstractHelper
108110
* // Adding a crumb without a link (normally the last one)
109111
* $breadcrumbs->add("Users");
110112
* ```
111-
*
112-
* @param array<string, string> $attributes
113113
*/
114114
public function add(
115115
string text,
@@ -144,8 +144,6 @@ class Breadcrumbs extends AbstractHelper
144144

145145
/**
146146
* Clear the attributes of the parent element.
147-
*
148-
* @return $this
149147
*/
150148
public function clearAttributes() -> <Breadcrumbs>
151149
{
@@ -248,10 +246,6 @@ class Breadcrumbs extends AbstractHelper
248246

249247
/**
250248
* Set the attributes for the parent element.
251-
*
252-
* @param array<string, string> $attributes
253-
*
254-
* @return $this
255249
*/
256250
public function setAttributes(array attributes) -> <Breadcrumbs>
257251
{
@@ -318,7 +312,7 @@ class Breadcrumbs extends AbstractHelper
318312
}
319313

320314
/**
321-
* @param array<string, string> $attributes
315+
* Processes attributes
322316
*/
323317
private function processAttributes(array attributes) -> string
324318
{

0 commit comments

Comments
 (0)