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 8cce59c commit 97e6400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/FormsLatte/FormMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* - {inputError name}
* - {formContainer name} ... {/formContainer}
*/
class FormMacros extends MacroSet
final class FormMacros extends MacroSet
{
public static function install(Latte\Compiler $compiler): void
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,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 97e6400

Please sign in to comment.