Ensure date attributes on an Eloquent model are output in same format when the model is converted to an array as if you were to directly access the property on the model.
Ensure there are dirty fields when performing update - just in case the updating events reset the fields
changes and unit tests
move comment to appropriate location
add multiple column count support for distinct pagination
fix spacing
Add morphClass property to allow polymorphic relations on extended models
implement Model::unsetConnectionResolver
Merge pull request #4247 from deiucanta/4.1

Add morphClass property to allow polymorphic relations on extended models
Code organization.
Merge branch 'aggregate-reset-4.1' of https://github.com/alprs/framework into alprs-aggregate-reset-4.1
Add space.
Merge branch 'pull-request/update-dirty-fields-fix' of https://github.com/JamShady/framework into JamShady-pull-request/update-dirty-fields-fix
Fixing formatting.
Fix conflict.
Merge branch 'f/eloquentToArrayCarbonDates' of https://github.com/danharper/framework into danharper-f/eloquentToArrayCarbonDates
Fixing some formatting issues.