Fixed and updated some dependencies
Fix Illegal string offset 'function' on morphToMany
Merge pull request #3564 from Ruby184/fix/illegal-string-offset

Fix Illegal string offset 'function' on morphToMany
Added test.
Merge pull request #3563 from GrahamCampbell/composer-fixes

Composer Fixes And Updates