Skip to content

Commit

Permalink
fixed bugs reported by PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 11, 2019
1 parent 43feaef commit 8f1bb54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Application/UI/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function __toString(): string
throw $e;
}
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
return '';
}
}
}
1 change: 1 addition & 0 deletions src/Bridges/ApplicationLatte/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function __toString(): string
throw $e;
}
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
return '';
}
}

Expand Down

0 comments on commit 8f1bb54

Please sign in to comment.