Skip to content

Commit 3abce32

Browse files
committed
$js=NOT NULL
1 parent 778966e commit 3abce32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Ajax/common/Widget.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,15 +333,15 @@ public function getForm() {
333333
return $this->_form;
334334
}
335335

336-
public function run(JsUtils $js=NULL){
336+
public function run(JsUtils $js){
337337
$result=parent::run($js);
338338
if(isset($this->_form)){
339339
$this->runForm($js);
340340
}
341341
return $result;
342342
}
343343

344-
protected function runForm(JsUtils $js=NULL){
344+
protected function runForm(JsUtils $js){
345345
$fields=$this->getContentInstances(HtmlFormField::class);
346346
foreach ($fields as $field){
347347
$this->_form->addField($field);

Ajax/semantic/widgets/dataform/DataForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function _setToolbarPosition($table, $captions=NULL) {
115115
$this->content[$this->_toolbarPosition]=$this->_toolbar;
116116
}
117117

118-
public function run(JsUtils $js=NULL){
118+
public function run(JsUtils $js){
119119
return parent::run($js);
120120
}
121121
}

0 commit comments

Comments
 (0)