Update Workflow.php
Merge pull request #1653 from Guite/1.4

Fixed indirect modification exception