Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu committed Jul 18, 2017
1 parent 1c03ad3 commit bb8edf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pho/Framework/Loaders/OutgoingEdgeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function pack(Framework\ParticleInterface $particle): AbstractLoad
*
* @param OutgoingEdgeCargo $cargo The cago to fill data with
* @param string $class
* @param int $trim how many arguments in constructor to skip
* @param int $formative_trim how many arguments in constructor to skip
*
* @return void
*/
Expand Down Expand Up @@ -109,7 +109,7 @@ public static function registerOutgoingEdgeClass(
)
)->getParameters();
}
for($i=0;$i<$trim;$i++) {
for($i=0;$i<$formative_trim;$i++) {
@array_shift($formable_params);
}
if(count($formable_params)==0) {
Expand Down

0 comments on commit bb8edf8

Please sign in to comment.