File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Bridges/ApplicationLatte Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3131 "nette/forms" : " ^3.0" ,
3232 "nette/robot-loader" : " ^3.0" ,
3333 "nette/security" : " ^3.0" ,
34- "latte/latte" : " ^2.5" ,
34+ "latte/latte" : " ^2.5.1 " ,
3535 "tracy/tracy" : " ^2.6" ,
3636 "mockery/mockery" : " ^1.0"
3737 },
Original file line number Diff line number Diff line change @@ -41,33 +41,33 @@ public function isSnippetMode(): bool
4141 }
4242
4343
44- public function setSnippetMode (bool $ snippetMode )
44+ public function setSnippetMode ($ snippetMode )
4545 {
4646 $ this ->control ->snippetMode = $ snippetMode ;
4747 }
4848
4949
50- public function needsRedraw (string $ name ): bool
50+ public function needsRedraw ($ name ): bool
5151 {
5252 return $ this ->control ->isControlInvalid ($ name );
5353 }
5454
5555
56- public function markRedrawn (string $ name ): void
56+ public function markRedrawn ($ name ): void
5757 {
5858 if ($ name !== '' ) {
5959 $ this ->control ->redrawControl ($ name , false );
6060 }
6161 }
6262
6363
64- public function getHtmlId (string $ name ): string
64+ public function getHtmlId ($ name ): string
6565 {
6666 return $ this ->control ->getSnippetId ($ name );
6767 }
6868
6969
70- public function addSnippet (string $ name , string $ content ): void
70+ public function addSnippet ($ name , $ content ): void
7171 {
7272 if ($ this ->payload === null ) {
7373 $ this ->payload = $ this ->control ->getPresenter ()->getPayload ();
You can’t perform that action at this time.
0 commit comments