Commit: 0f3fcbb762f301c95fd0f5afebced26753125ca6

Author: Nate Abele | Date: 2009-11-01 21:25:12 -0500
Fixing class view to hide "Methods" section if `Inspector` returns a collection with no items.
diff --git a/views/browser/view.html.php b/views/browser/view.html.php index 50cfceb..138d013 100644 --- a/views/browser/view.html.php +++ b/views/browser/view.html.php @@ -70,7 +70,7 @@ </ul> <?php } ?> -<?php if ($object['methods']) { ?> +<?php if ($object['methods'] && $object['methods']->count()) { ?> <h4>Methods</h4> <ul class="methods"> <?php foreach ($object['methods'] as $method) { ?>