File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ public function setHelpers(array $helpers)
244244 $ this ->addHelpers ($ helpers );
245245 }
246246
247- public function set (HelperInterface $ helper , string $ alias = null )
247+ public function set (HelperInterface $ helper , ? string $ alias = null )
248248 {
249249 $ this ->helpers [$ helper ->getName ()] = $ helper ;
250250 if (null !== $ alias ) {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class TemplateReference implements TemplateReferenceInterface
2020{
2121 protected $ parameters ;
2222
23- public function __construct (string $ name = null , string $ engine = null )
23+ public function __construct (? string $ name = null , ? string $ engine = null )
2424 {
2525 $ this ->parameters = [
2626 'name ' => $ name ,
You can’t perform that action at this time.
0 commit comments