Skip to content

Commit 260be4b

Browse files
committed
Check for href in isEmpty(), rather than URL closes #73
1 parent 8939fbd commit 260be4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Link.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ public function tag($attr = [])
129129

130130
public function isEmpty()
131131
{
132-
return $this->url() === null;
132+
return $this->href() === null;
133133
}
134-
134+
135135
public function isNotEmpty()
136136
{
137137
return !$this->isEmpty();

0 commit comments

Comments
 (0)