Skip to content

Commit

Permalink
Remove unnecessary mixed from declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Jan 5, 2017
1 parent a55d386 commit 72a08e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface Promise
*
* If the promise is already resolved, the callback MUST be executed immediately.
*
* @param callable(\Throwable|\Exception|null $exception, mixed $value) @onResolved `$reason` shall be `null` on
* @param callable(\Throwable|\Exception|null $exception, $value) @onResolved `$reason` shall be `null` on
* success, `$value` shall be `null` on failure.
*
* @return mixed Return type and value are unspecified.
Expand Down
4 changes: 2 additions & 2 deletions src/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ interface Promise
*
* If the promise is already resolved, the callback MUST be executed immediately.
*
* @param callable(\Throwable|\Exception|null $exception, mixed $value) @onResolved `$reason` shall be `null` on
* @param callable(\Throwable|\Exception|null $exception, $value) @onResolved `$reason` shall be `null` on
* success, `$value` shall be `null` on failure.
*
* @return mixed Return type and value are unspecified.
*/
public function when(callable $onResolved);
}
}

0 comments on commit 72a08e5

Please sign in to comment.