Changed length() return annotation
Allow cache to be resolved through a Closure like the paginator. Fixes dependency issues, currently you must include Illuminate\Cache\Manager to resolve through IoC or mockery. Fixed now.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Add test for resolving paginator as well to prove desired behaviour.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Tweak docblock typehints.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Merge pull request #1426 from bencorlett/bugfix/connection-cache-manager

[bugfix] Consistency & Resolvable Dependencies Fix
Merge pull request #1425 from mrdevries/patch-1

Changed length() return annotation
When Exception occurs, return also the exception code not only a message.

If we don't return any exception code, or return always 0,  programmer have to parse a exception message. It's not a developer friendly approach.
Add license to composer files.
Merge pull request #1427 from devmach/patch-2

When Exception occurs, return also the exception code not only a message...
Cleaning up code.
Check where count before merging nested wheres. Fixes #1338.
Fix calling lists with a fully qualified column name. Remove code from exception as it causes problems.
Return actual receive count from SQS queue driver.
Update branch aliases.
Update dependencies to 4.1.x.
Add lists method to Eloquent Collection. Closes #1434.
Merge branch '4.0'
Update Validator.php

Typo on phpDoc
Update Factory.php

Typo on phpDOC
Merge pull request #1453 from T3chn0crat/patch-2

Update Factory.php