Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hirak committed May 21, 2016
1 parent ad3bc25 commit 96a0917
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@
*/
if ($rc->isInterface()) {
$kind = 'i';
} elseif (method_exists($rc, 'isTrait') && $rc->isTrait()) {
$kind = 't';
} elseif (method_exists($rc, 'isTrait')) {
if ($rc->isTrait()) {
$kind = 't';
} else {
$kind = 'c';
}
} else {
$kind = 'c';
}
Expand Down

0 comments on commit 96a0917

Please sign in to comment.