Browse files

correcting warning in ComposeMany

  • Loading branch information...
1 parent baeaf9d commit d6845d7efd43298b985131532acfbb958a018446 Jonthan Moss committed Jun 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/morph/property/ComposeMany.php
View
2 src/morph/property/ComposeMany.php
@@ -87,7 +87,7 @@ public function __setRawValue($value, $state = null)
public function __getRawValue()
{
$rawValue = array();
- if($this->value->count() > 0){
+ if(count($this->value) > 0){
foreach ($this->value as $value) {
$rawValue[] = $value->__getData();
}

0 comments on commit d6845d7

Please sign in to comment.