Skip to content

Commit 0d74caa

Browse files
authored
Fix syntax in example code (#35)
1 parent 5f95563 commit 0d74caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Test/Feature/Stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function make($class, $params = [])
115115
* ``` php
116116
* <?php
117117
* $this->makeEmpty('User', ['save' => function () { return true; }]);
118-
* $this->makeEmpty('User', ['save' => true));
118+
* $this->makeEmpty('User', ['save' => true]);
119119
* ```
120120
*
121121
* @template RealInstanceType of object
@@ -312,4 +312,4 @@ public function constructEmptyExcept($class, $method, $constructorParams = [], $
312312
return $this->mocks[] = \Codeception\Stub::constructEmptyExcept($class, $method, $constructorParams, $params, $this);
313313
}
314314

315-
}
315+
}

0 commit comments

Comments
 (0)