Skip to content

Commit b9b0431

Browse files
committed
:octocat:
1 parent 4001603 commit b9b0431

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/TestOptionsTrait.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ protected function set_test5($value){
3535
}
3636

3737
protected function get_test6(){
38-
return sha1($this->test6);
38+
return $this->test6 === null
39+
? 'null'
40+
: sha1($this->test6);
3941
}
4042
}

0 commit comments

Comments
 (0)