Skip to content

Commit 7fe78c1

Browse files
committed
fixed bugs reported by PHPStan
1 parent edf1e15 commit 7fe78c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Application/UI/Link.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function __toString(): string
9393
throw $e;
9494
}
9595
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
96+
return '';
9697
}
9798
}
9899
}

src/Bridges/ApplicationLatte/Template.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function __toString(): string
7373
throw $e;
7474
}
7575
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
76+
return '';
7677
}
7778
}
7879

0 commit comments

Comments
 (0)