Added support for passing an Eloquent Collection to sync() when inserting on a many-to-many relationship instead of just an array of IDs
Updated Model dirty checks to ignore numerically equivalent fields
Minor clarity and type-enforcement fixes

Fix Cache\TagSet::__construct() arg for prop used with array-only operations

Add phpdoc @method hints for \Cache\Manager->__call to StoreInterface driver

Remove unused assignment in SqlServerGrammar->compileAnsiOffset()

Remove unused param from Query\Builder->orWhereBetween()

Remove unused closure parameter in Connection->unprepared()

Fix Database\Capsule\Manager method arg types

Add explicit member var definition in Database\Capsule\Manager

Fix Database\Connectors\ConnectionFactory method property type

Clean up tabs and erroneous magic reference in Cache\CacheManager

Change visibility of  in Cookie\Queue

Mark formerly implicit members as protected per #3414
Small change to follow Laravel coding style
Use modelKeys to retrieve relation IDs correctly instead of incorrect ->otherKey
add findOrNew eloquent method
Check if Seeder $command is set when resolving
Merge pull request #3875 from yajra/findOrNew

[Proposal] add findOrNew eloquent method
remove find, findOrFail from model, delegate to query builder
use model->newCollection
Throw exception when no primary key and deleting.
Turn the count into an expression.
Remove the count.
Merge pull request #3414 from ebollens/minor_fixes

Minor Clarity and Type-enforcement Fixes
Fix expression.
Merge pull request #3831 from alprs/refct/find-findorfail

Remove find, findOrFail from model, delegate to query builder
Add events firing in transaction.

Signed-off-by: Kevin Simard <kesimard@outlook.com>
Fix `count` method return value. Return number represented as integer instead of string.
Add space between type-casting operator and return value.
Revert "use model->newCollection"

This reverts commit 26e5809a68464387b1544e2d614354f73fc72b07.