Skip to content

Commit

Permalink
Merge pull request #8 from phonetworks/plus
Browse files Browse the repository at this point in the history
updated ParticleTrait to reflect changes in pho-lib-graph such that t…
  • Loading branch information
esokullu authored Jun 25, 2017
2 parents 16d5d0b + 2645ee3 commit 32d33a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Pho/Framework/ParticleTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ protected function _callSetter(string $name, array $args): \Pho\Lib\Graph\Entit
throw new InvalidEdgeHeadTypeException($args[0], $this->edge_out_setter_settables[$name]);
}
$edge = new $this->edge_out_setter_classes[$name]($this, $args[0]);
return $edge;
// return $edge(); // returns the head() // not at framework level.
return $edge->return();
}

/**
Expand Down

0 comments on commit 32d33a4

Please sign in to comment.