Skip to content

Commit

Permalink
Some changes based on feedback (doc, null)
Browse files Browse the repository at this point in the history
  • Loading branch information
DFoxinator committed May 11, 2019
1 parent 9121990 commit e92338d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Framework/MockObject/MockBuilder.php
Expand Up @@ -180,8 +180,10 @@ public function setMethods(array $methods = null): self

/**
* Specifies the subset of methods to mock, requiring each to exist in the class
*
* @param string[] $methods
*/
public function setRealMethods(array $methods = null): self
public function setRealMethods(array $methods): self
{
if ($methods) {
$reflection = new \ReflectionClass($this->type);
Expand Down

0 comments on commit e92338d

Please sign in to comment.