Skip to content

Commit

Permalink
Remove primitive types and made exception optional
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloDuarte committed Jan 4, 2014
1 parent cadbf70 commit 2ce9aea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PhpSpec/ObjectBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
* wrap the results into PhpSpec subjects. This results will then be able to
* be matched against expectations.
*
* @method void beConstructedWith(\mixed $constructorArguments,...)
* @method void beAnInstanceOf(\string $class)
* @method void shouldHaveType(\string $type)
* @method \PhpSpec\Wrapper\Subject\Expectation\DuringCall shouldThrow($exception)
* @method void beConstructedWith($constructorArguments,...)
* @method void beAnInstanceOf($class)
* @method void shouldHaveType($type)
* @method \PhpSpec\Wrapper\Subject\Expectation\DuringCall shouldThrow($exception = null)
*/
class ObjectBehavior implements ArrayAccess,
MatchersProviderInterface,
Expand Down

0 comments on commit 2ce9aea

Please sign in to comment.