Skip to content

Commit bb25bd7

Browse files
author
Amanda
committed
get_icon as string
1 parent 49cb8d2 commit bb25bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Component.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ public function get_category() : string {
189189
/**
190190
* Getter for the icon.
191191
*
192-
* @return string|array
192+
* @return string
193193
*/
194-
public function get_icon() {
194+
public function get_icon() : string {
195195
return $this->icon;
196196
}
197197

0 commit comments

Comments
 (0)