Skip to content

Commit

Permalink
backwards-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu authored Oct 14, 2018
1 parent d276007 commit c1e1d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pho/Framework/Loaders/IncomingEdgeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static function pack(ParticleInterface $particle): AbstractLoader
{
$obj = new IncomingEdgeLoader($particle->getRegisteredIncomingEdges());
foreach($obj->cargo->classes as $class) {
$class = str_replace("ObjectOut", "ObjOut", $class); // for backwards-compatibility.
$class_ref = new \ReflectionClass($class);
$check = false;

Expand Down Expand Up @@ -77,4 +78,4 @@ public static function pack(ParticleInterface $particle): AbstractLoader
}
return $obj;
}
}
}

0 comments on commit c1e1d13

Please sign in to comment.