Skip to content

Commit

Permalink
5.3 revert and .gitignore fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Raub committed Nov 10, 2013
1 parent d703076 commit 32126a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,3 +1,2 @@
vendor
.idea
composer.lock
6 changes: 5 additions & 1 deletion tests/Ruler/Test/Fixtures/CallbackProposition.php
Expand Up @@ -9,8 +9,12 @@ class CallbackProposition implements Proposition
{
private $callback;

public function __construct(callable $callback)
public function __construct($callback)
{
if (!is_callable($callback)) {
throw new \InvalidArgumentException('CallbackProposition expects a callable argument');
}

$this->callback = $callback;
}

Expand Down

0 comments on commit 32126a6

Please sign in to comment.