Skip to content

Commit 133b7e6

Browse files
committedOct 19, 2015
Set $title argument default to empty string in Section::__construct
1 parent fa1cc5a commit 133b7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/Oow/Settings/Section.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Section
2424
* @param string $title
2525
* @param string|\Closure $callback
2626
*/
27-
public function __construct($id, $title, $callback = '')
27+
public function __construct($id, $title = '', $callback = '')
2828
{
2929
$this->id = $id;
3030
$this->title = $title;

0 commit comments

Comments
 (0)
Please sign in to comment.